Download as rtf, pdf, or txt
Download as rtf, pdf, or txt
You are on page 1of 3

data={

{0,39.495},
{11.1,13.22},
{22.2,5.45},
{33.3,5.85},
{44.4,6.09},
{55.5,7.095},
{66.6,7.485},
{77.7,8.46},
{88.8,11.195},
{99.9,13.66},
{111,17.605},
{122.1,36.045},
{133.2,40.345},
{144.3,46.765},
{155.4,49.55},
{166.5,60.36}
}
{{0,39.495},{11.1,13.22},{22.2,5.45},{33.3,5.85},{44.4,6.09},
{55.5,7.095},{66.6,7.485},{77.7,8.46},{88.8,11.195},{99.9,13.66},
{111,17.605},{122.1,36.045},{133.2,40.345},{144.3,46.765},
{155.4,49.55},{166.5,60.36}}
ListPlot[
Table[
{data[[i,1]],data[[i,2]]},
{i,1,16}
],
FillingAxis,
AspectRatioAutomatic
]

f=Interpolation[Table[
{data[[i,1]],data[[i,2]]},
{i,1,16}],
InterpolationOrder3

]
InterpolatingFunction[{{0.,166.5}},<>]
Plot[
f[x],
{x,0,166.5}
]
6 0

5 0

4 0

3 0

2 0

1 0

5 0

1 0 0

Show[
Plot[f[x],
{x,0,166.5},
PlotRangeAll,
AspectRatio Automatic,
AxesOrigin{0,0}
]
,
ListPlot[
Table[
{data[[i,1]],data[[i,2]]},
{i,1,16}
],
FillingAxis,
AspectRatioAutomatic
]
]

ParametricPlot3D[
{x,f[x]*Cos[t],f[x]*Sin[t]},
{x,0,166.5},
{t,0,2p},

1 5 0

AxesOrigin{0,0},
BoxedFalse,
AxesLabel{x,y,z}
]

You might also like