0% found this document useful (0 votes)
25 views2 pages

Data Volumes

The document contains a list of numeric data pairs. A plot of the data is generated and an interpolation function is fitted to the data. The interpolation function is then plotted and used to generate a 3D parametric plot by revolving the function around the x-axis.

Uploaded by

juflores4556
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)
25 views2 pages

Data Volumes

The document contains a list of numeric data pairs. A plot of the data is generated and an interpolation function is fitted to the data. The interpolation function is then plotted and used to generate a 3D parametric plot by revolving the function around the x-axis.

Uploaded by

juflores4556
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/ 2

data = 8

81, 3.264, 1.632<,


82, 3.580, 1.79<,
83, 3.655, 1.8275<,
84, 3.289, 1.6445<,
85, 2.09, 1.045<,
86, 0.608, 0.304<,
87, 0.386, 0.193<,
88, 0.41, 0.205<,
88.75, 3.33, 1.665<
<

881, 3.264, 1.632<, 82, 3.58, 1.79<, 83, 3.655, 1.8275<,


84, 3.289, 1.6445<, 85, 2.09, 1.045<, 86, 0.608, 0.304<,
87, 0.386, 0.193<, 88, 0.41, 0.205<, 88.75, 3.33, 1.665<<
ListPlot@
Table@
8data@@i, 1DD, data@@i, 3DD<,
8i, 1, 9<
D,
Filling Axis,
AspectRatio Automatic
D
1.5
1.0
0.5
2

f = Interpolation@Table@
8data@@i, 1DD, data@@i, 3DD<,
8i, 1, 9<D,
InterpolationOrder 1
D
Plot@f@xD,
8x, 1, 9<,
AspectRatio Automatic,
PlotRange All,
AxesOrigin 80, 0<
D

InterpolatingFunction@881., 8.75<<, <>D


2.0
1.5
1.0
0.5
2

Printed by Mathematica for Students

FindingVolumesofRevolution.nb

Show@
Plot@f@xD,
8x, 1, 9<,
PlotRange All,
AspectRatio Automatic,
AxesOrigin 80, 0<
D,
ListPlot@
Table@
8data@@i, 1DD, data@@i, 3DD<,
8i, 1, 9<
D,
Filling Axis,
AspectRatio Automatic
D
D
2.0
1.5
1.0
0.5
2

ParametricPlot3D@
8x, f@xD * Cos@tD, f@xD * Sin@tD<,
8x, 1, 9<,
8t, 0, 2 <,
D

AxesOrigin 80, 0<,


Boxed False,
AxesLabel 8x, y, z<

2
1
0
-1
-2
2

0
2

1
4
x

0
6

-1
8

-2

Printed by Mathematica for Students

You might also like