0% found this document useful (0 votes)
24 views

Project 1

The document contains data from an experiment measuring y and y-squared values for varying values of x. It then performs several analyses on this data: 1) It plots the y-squared data versus x to visualize the relationship. 2) It uses interpolation to fit a smooth function f(x) to the data. 3) It plots f(x) and overlays the original data points. 4) It creates a 3D parametric plot of the interpolated surface f(x)*cos(t) and f(x)*sin(t) versus x and t.

Uploaded by

xoxosabriina
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views

Project 1

The document contains data from an experiment measuring y and y-squared values for varying values of x. It then performs several analyses on this data: 1) It plots the y-squared data versus x to visualize the relationship. 2) It uses interpolation to fit a smooth function f(x) to the data. 3) It plots f(x) and overlays the original data points. 4) It creates a 3D parametric plot of the interpolated surface f(x)*cos(t) and f(x)*sin(t) versus x and t.

Uploaded by

xoxosabriina
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

1

In[86]:=

EvaluateB

1
H42.305 + 17.665L 7 +

2
1

1
H7.305 + 4.455L 11.61 +

2
1

1
H4.455 + 3.895L 20.52 +

2
1

1
H6.3 + 23.24L 17.69 +

2
1

2
1

H46.705 + 44.965L 18.46 +


2

In[63]:=

1
H45.715 + 46.705L 19.75 +

2
H44.965 + 42.3L 17.12 +

Out[87]=

H23.24 + 38.075L 19.7 +


2

H38.075 + 45.715L 22.49 +

In[87]:=

H3.895 + 4.18L 15.03 +


2

1
H4.18 + 6.3L 18.86 +

Out[86]=

H17.665 + 7.305L 8.2 +


2

1
H42.3 + 39.505L 14.83 +

H39.305 + 35.925L 10.96 F


2

5957.77
Evaluate@ H5957.77LD
18 716.9
SetDirectory@"UsersSabrinaDocumentsSchoolMath 2120"D
data = Import@"data.csv"D

Out[63]=

UsersSabrinaDocumentsSchoolMath 2120

Out[64]=

88x, y, y2<, 80, 84.61, 42.305<, 87, 35.33, 17.665<, 815.2, 14.61, 7.305<,
826.81, 8.91, 4.455<, 847.33, 7.79, 3.895<, 862.36, 8.36, 4.18<,
881.22, 12.6, 6.3<, 898.91, 46.48, 23.24<, 8118.61, 76.15, 38.075<,
8141.1, 91.43, 45.715<, 8160.85, 93.41, 46.705<, 8179.31, 89.93, 44.965<,
8196.43, 84.6, 42.3<, 8211.26, 79.01, 39.505<, 8222.22, 71.85, 35.925<<

In[41]:=

ListPlot@
Table@
8data@@i, 1DD, data@@i, 3DD<,
8i, 2, 16<
D,
Filling Axis,
AspectRatio Automatic
D
40
30

Out[41]=

20
10

50
In[79]:=

Out[79]=

100

f = Interpolation@Table@
8data@@i, 1DD, data@@i, 3DD<,
8i, 2, 16<D,
InterpolationOrder 7
D
InterpolatingFunction@880., 222.22<<, <>D

Printed by Mathematica for Students

150

200

project1.nb

In[80]:=

Plot@f@xD,
8x, 0, 230<,
AspectRatio Automatic,
PlotRange All,
AxesOrigin 80, 0<
D
50
40
30

Out[80]=

20
10

50
In[75]:=

100

150

200

Show@
Plot@f@xD,
8x, 0, 230<,
PlotRange All,
AspectRatio Automatic,
AxesOrigin 80, 0<
D
,
ListPlot@
Table@
8data@@i, 1DD, data@@i, 3DD<,
8i, 2, 16<
D,
Filling Axis,
AspectRatio Automatic
D
D
50
40
30

Out[75]=

20
10

50

100

Printed by Mathematica for Students

150

200

project1.nb

In[76]:=

ParametricPlot3D@
8x, f@xD * Cos@tD, f@xD * Sin@tD<,
8x, 0, 230<,
8t, 0, 2 <,
AxesOrigin 80, 0<,
Boxed False,
AxesLabel 8x, y, z<
D

z
Out[76]=

-40
-20
0

20
40
200
40
150
20
100

y
-20

50
-40
0

Printed by Mathematica for Students

You might also like