Professional Documents
Culture Documents
Practical-5
Obtaining Surface of Revolution of Curves
2.5
2.0
1.5
Out[15]=
1.0
0.5
Out[1]=
3
1.0
0.8
0.6
Out[2]=
0.4
0.2
x
1.2 1.4 1.6 1.8 2.0
Out[3]=
In[19]:= Plot [1 - x, {x, 0, 1}, AxesOrigin → {0, 0}, AxesLabel → {x, y}]
RevolutionPlot3D [1 - x, {x, 0, 1}, RevolutionAxis → "x", AxesLabel → {"x", "y", "z"}]
RevolutionPlot3D [1 - x, {x, 0, 1}, RevolutionAxis → "z", AxesLabel → {"x", "y", "z"}]
4
1.0
0.8
0.6
Out[19]=
0.4
0.2
x
0.2 0.4 0.6 0.8 1.0
Out[20]=
5
Out[21]=
Out[1]=
2
x
0.5 1.0 1.5 2.0
6
Out[2]=
Out[3]=
7
0.4
0.3
Out[4]=
0.2
0.1
Out[5]=
8
Out[6]= 4
5 10 15
Out[7]=
9
In[8]:= Manipulate [
RevolutionPlot3D [{2 a t, a t ^ 2}, {t, 0, 1},
AxesOrigin → {0, 0, 0}, AxesLabel → {"x", "y", "z"}], {a, {1, 2, 3, 4, 6, 8}}]
a 4
Out[8]=
0.8
0.6
Out[9]=
0.4
0.2
Out[15]=
1.0
0.5
Out[25]=
0.2 0.4 0.6 0.8 1.0
-0.5
-1.0
Out[26]=
12
Out[27]=
1.0
0.5
Out[28]=
-1.0 -0.5 0.5 1.0
-0.5
-1.0
13
Out[29]=
Out[30]=
14
In[31]:= Manipulate [
RevolutionPlot3D [{r Cos [t], r Sin [t]}, {t, 0, π }, RevolutionAxis → {1, 0, 0}], {r, 1, 4}]
Out[31]=
2.0
1.5
Out[1]= 1.0
0.5
Out[3]=
16
0.8
0.6
Out[4]=
0.4
0.2
Out[6]=
17
Out[7]=
18
Cone : The surface generated by a straight line , the generator ,passing through
a fixed point , the vertex,and the moving along a fixed curve .The line segment
joining the origin to the point (h,r) is revolved about the x - axis to generate a
cone of height h and base radius r , we take parametric equations x=h t ,y = r t
,0<=t<=1.
In[8]:= r=2
h=3
Plot [(r / h) x, {x, 1, 5}]
RevolutionPlot3D [(r / h) x, {x, 0, 5}]
Out[8]= 2
Out[9]= 3
3.0
2.5
Out[10]= 2.0
1.5
1.0
2 3 4 5
Out[11]=
19
In[12]:= r=2
h=3
Plot [(r / h) x, {x, 1, 5}]
RevolutionPlot3D [(r / h) x, {x, 0, 5}, RevolutionAxis → "x"]
Out[12]= 2
Out[13]= 3
3.0
2.5
Out[14]= 2.0
1.5
1.0
2 3 4 5
Out[15]=
20
In[16]:= Manipulate [
RevolutionPlot3D [{h t, r t}, {t, 0, 1}, RevolutionAxis → "x",
AxesLabel → {"x", "y", "z"}, PlotLabel → "cone"], {h, 1, 4}, {r, 1, 4}]
Out[16]=
21
Out[17]=
Cone Frustum : The line segment joining the points (0,1) & (2, 2) is revolved
about x - axis to generate a frustum of a cone , we take parametric equations x =
2 t, y = t+1, 0<=t<=1 .
In[18]:= ParametricPlot [{2 t, t + 1}, {t, 0, 1}, AxesOrigin → {0, 0}] ×
RevolutionPlot3D [{2 t, t + 1}, {t, 0, 1}, RevolutionAxis → "x"]
2.0
1.5
Out[18]= 1.0
0.5
1.0
0.5
Out[19]=
-0.5 0.51.01.52.02.53.0
-1.0
In[20]:= ParametricPlot [{2 + Cos [t], Sin [t]}, {t, 0, 2 π }, AxesOrigin → {0, 0}] ×
RevolutionPlot3D [{2 + Cos [t], Sin [t]}, {t, 0, 2 π }, RevolutionAxis → {1, 0, 0}]
1.0
0.5
Out[20]=
-0.5 0.51.01.52.02.53.0
-1.0
In[1]:= ParametricPlot [{2 + Cos [t], Sin [t]}, {t, 0, 2 π }, AxesOrigin → {0, 0}] ×
RevolutionPlot3D [{2 + Cos [t], Sin [t]}, {t, 0, 2 π }, RevolutionAxis → {0, 0, 1}]
1.0
0.5
Out[1]=
-0.5 0.51.01.52.02.53.0
-1.0
23
Out[2]=
24
The region lying between two concentric circles defines annulus. The area of
the annulus formed by two circles of radii a and b (a>b) is π (a^2 - b^2) .
In[4]:= RegionPlot [.5 < x ^ 2 + y ^ 2 < 1, {x, - 1, 1}, {y, - 1, 1},
Frame → False , ImageSize → Medium , PlotLabel → Annulus ]
Annulus
Out[4]=
25
Revolve a function curve around the line through {0,0} and {1,1} in the x - z plane
.
In[9]:= Plot [{t ^ 4 - t ^ 2, t}, {t, 0, 1}, AxesOrigin → {0, 0}]
RevolutionPlot3D [t ^ 4 - t ^ 2, {t, 0, 1},
RevolutionAxis → {1, 1}, AxesLabel → {"x", "y", "z"},
PlotLabel → "Revolution about line through {0,0} & {0,1}"]
1.0
0.8
0.6
Out[9]= 0.4
0.2
-0.2
Out[10]=
26
1.0
0.8
0.6
Out[11]=
0.4
0.2
1.0
0.5
Out[12]=
-1.0 -0.5 0.5 1.0
-0.5
-1.0
27
In[13]:= RevolutionPlot3D [(1 - x ^ (2 / 3)) ^ (3 / 2), {x, 0, 1}, RevolutionAxis → {1, 0, 0}]
Out[13]=
In[14]:= RevolutionPlot3D [(1 - x ^ (2 / 3)) ^ (3 / 2), {x, 0, 1}, RevolutionAxis → {0, 0, 1}]
Out[14]=
28
• Circular Helix :
Out[15]=
29
Out[16]=
30
In[17]:= RevolutionPlot3D [{Sin [t], Cos [t], t}, {t, 0, 4 π }, AxesLabel → Arrowheads {- .02, .02 },
AxesLabel → {"x", "y", "z"}, PlotLabel → "Circular helix of Revolutions "]
Out[17]=
• Questions :
1). Let g(x) = √ x , h(x) = x^2 , and R be the region bounded by the graphs of g(x)
and h(x) . Find the volume of the solid obtained by revolving R about (a) the x-
axis (b) the y - axis .
In[7]:= Clear [x, y]
RegionPlot [x ^ 2 ≤ y ≤ √ x, {x, 0, 1}, {y, 0, 2}]
RevolutionPlot3D [{{t, t ^ 2}, {t ^ 2, t}}, {t, 0, 1}, RevolutionAxis → {1, 0, 0}]
RevolutionPlot3D [{{t, t ^ 2}, {t ^ 2, t}}, {t, 0, 1}, RevolutionAxis → {0, 1, 0}]
vx_washer = Integrate [π √ x ^ 2 - (x ^ 2) ^ 2, {x, 0, 1}]
vx_washer = Integrate [2 π √ x - x ^ 2, {x, 0, 1}]
31
2.0
1.5
1.0
Out[8]=
0.5
0.0
0.0 0.2 0.4 0.6 0.8 1.0
Out[9]=
32
Out[10]=
3π
Out[11]=
10
2π
Out[12]=
3
• Q -1). Find the volume of the solid generated when the region b/w graphs of
function of f(x) = 1/2 + x^2 and g(x) = x over the interval [0,2] is revolved about
x- axis .
• Q-2). Find the volume of the solid geerated whe the region enclosed by y = √ x
and y =2 is revolved about y - axis .
In[13]:= g[x_] := x;
f[x_] := 1 / 2 + x ^ 2 ;
Plot [{g[x], f[x]}, {x, 0, 2}, PlotRange → {{0, 2}, {0, 4}}, AspectRatio → Automatic ]
RegionPlot [g[x] ≤ y ≤ f[x], {x, 0, 2}, {y, 0, 4}]
RevolutionPlot3D [{{t, 1 / 2 + t ^ 2}, {t, t}}, {t, 0, 2}, RevolutionAxis → {1, 0, 0}]
v _washer = Integrate [π (f[x] ^ 2 - g[x] ^ 2), {x, 0, 2}]
33
Out[15]= 2
0
0.0 0.5 1.0 1.5 2.0
2
Out[16]=
0
0.0 0.5 1.0 1.5 2.0
34
Out[17]=
69 π
Out[18]=
10
In[1]:= g[x_] := √ x;
g1 [y] := y ^ 2
f[x_] := 2;
Plot [{g[x], f[x]}, {x, 0, 2}, PlotRange → {{0, 2}, {0, 4}}, AspectRatio → Automatic ]
RegionPlot [g[x] ≤ y ≤ f[x], {x, 0, 2}, {y, 0, 4}]
RevolutionPlot3D t, √ t, {t, 2}, {t, 0, 4},
RevolutionAxis → {0, 1, 0}, AxesLabel → {x, y, z}
v _washer = Integrate [π g1 [y] ^ 2, {y, 0, 2}]
35
Out[4]= 2
0
0.0 0.5 1.0 1.5 2.0
2
Out[5]=
0
0.0 0.5 1.0 1.5 2.0
36
Out[6]=
32 π
Out[7]=
5
Q.8 410
volume of region bounded by y =x^2 & y = x^3 Revolution about x - axis .
In[10]:= h[x_] := x ^ 3;
g[x_] := x ^ 2;
RegionPlot [h[x] ≤ y ≤ g[x], {x, 0, 1}, {y, 0, 1}, PlotStyle → Red
] × RevolutionPlot3D [{{ t, t ^ 3} , { t, t ^ 2}} , { t, 0, 1} , RevolutionAxis → { 1, 0, 0}]
v _washer = Integrate [π (g[x] ^ 2 - h[x] ^ 2), {x, 0, 1}]
1.0
0.8
0.6
Out[12]= 0.4
0.2
0.0
0.00.20.40.60.81.0
2π
Out[13]=
35
37
The line segment joining the point A (r,0) & B(0,h) is revolved about the y- axis
to generate a cone of height h and base radius r , Equation of AB y= (h/r)(r-x) or
x=r/h(h-y)..
In[1]:= r= 3
h=4
g[x_] := (h / r) (r - x);
f[y _] := (r / h) (h - y);
Plot [g[x], {x, 0, 3}, PlotStyle → {Red, Thick , Dashed }]
RevolutionPlot3D [{x, g[x]}, {x, 0, 4}, AxesLabel → {"x", "y", "z"}, AxesOrigin → {0, 0, 0}]
V = Integrate [π f[y] ^ 2, {y, 0, 4}]
Out[1]= 3
Out[2]= 4
Out[5]= 2
Out[6]=
Out[7]= 12 π
Line joining (0,0) & (h,r) revolved about y- axis generatesa cone of radius h and
height r.
In[9]:= r= 3
h=4
g[x_] := r / h x;
f[y _] := h / r y;
Plot [g[x], {x, 0, 4}, PlotStyle → {Red, Thick , Dashed }]
RevolutionPlot3D [{x, g[x]}, {x, 0, 4}, AxesLabel → {"x", "y", "z"}, AxesOrigin → {0, 0, 0}]
RevolutionPlot3D [{y, f[y]}, {y, 0, 3}, RevolutionAxis → "y", AxesLabel → {"x", "y", "z"},
AxesOrigin → {0, 0, 0}, PlotLabel → "Revolution about y- axis"]
V = Integrate [π f[y] ^ 2, {y, 0, 3}]
Out[9]= 3
Out[10]= 4
40
3.0
2.5
2.0
Out[13]= 1.5
1.0
0.5
1 2 3 4
Out[14]=
41
Out[15]=
Out[16]= 16 π