AreaCylinderPlanes::usage="Determine the surface area of the solid that is formed between the cylinder + = 4 and the planes z = y and z = 2 y. Of the two resulting portions we want the one above XY plane.References: Internet: Ronny on line; Personal.";
2
x
2
y
In[]:=
ContourPlot3D[{+==4,z==y,z==2y},{x,-2,2},{y,-2,2},{z,-4,4}]
2
x
2
y
Development for surface area:
Method 1:
Surface area of the half of the first ellipse (π a b):
1
2
In[]:=
Solve[{+==4,z==y},{x,y}]
2
x
2
y
In[]:=
x->=0,z]
4-
,yz,x2
z
4-
,yz;Reduce[4-2
z
2
z
-2≤z≤2;
b=2;a=Norm[{0,2,2}-{0,0,0}]
2
2
;A
1
1
2
2
π=22
π;Surface area of the half of the second ellipse (π a b):
1
2
In[]:=
Solve[{+==4,z==2y},{x,y}]
2
x
2
y
In[]:=
x-,x,y;Reduce[16->=0,z]
1
2
16-
,y2
z
z
2
16-
2
z
2
z
2
2
z
-4≤z≤4;
In[]:=
b=2;a=Norm[{0,2,4}-{0,0,0}]
2
5
;A
2
1
2
5
π=25
π;Surface area of the cylinder portion above the XY plane:
f[x_,z_]:=[x_,z_]=D[f[x,z],x];[x_,z_]=D[f[x,z],y];
4-
;2
x
f
x
f
y
y=z;+=4;z=;+=4;z=2
2
x
2
z
4-
;y=2
x
z
2
2
x
2
z
4
4-
;2
x
4-
<=z<=22
x
4-
;-2<=x<=2;2
x
In[]:=
f[x_,z_]:=[x_,z_]=D[f[x,z],x];[x_,z_]=D[f[x,z],y];=2
4-
;2
x
f
x
f
y
A
3
2
∫
0
2
4-
2
x
∫
4-
2
x
1+[x,z]+[x,z]
zx2
f
x
2
f
y
8;
Total surface area:
2
2
π+25
π+8;24+2
π+5
π;Method 2:
In[]:=
ℜ=ImplicitRegion[+<=4&&z>=y&&z<=2y,{x,y,z}];SurfaceArea[ℜ]
2
x
2
y
24+
2
π+5
π;Graph:
In[]:=
gr=ShowRegionPlot3D[+<=4&&z>=y&&z<=2y,{x,-2,2},{y,-2,2},{z,0,4},Mesh->None,PlotStyle->Directive[Orange,Opacity[0.2],Specularity[White,40]],PlotPoints->120,PerformanceGoal->"Quality"],ParametricPlot3D-,z,,z,{z,-4,4},PlotStyleBlack/.Line[pts_,rest___]:>Tube[pts,0.013,rest],Graphics3D[{Black,Line[{{-2,0,0},{2,0,0}}]}]/.Line[pts_,rest___]:>Tube[pts,0.013,rest],AxesLabel->(Style[#,15,Blue]&/@{"X","Y","Z"}),Axes->True,AxesOrigin{0,0,0},Boxed->False,BoxRatios->Automatic,ViewPoint->{4,2.5,3.},ImageSize700,PlotRange{{-2,2},{-2,2},{0,4}}
2
x
2
y
4-
,z,z,2
z
4-
,z,z,{z,-2,2},PlotStyleBlack/.Line[pts_,rest___]:>Tube[pts,0.013,rest],ParametricPlot3D-2
z
1
2
16-
,2
z
z
2
1
2
16-
,2
z
z
2
Out[]=
In[]:=
ResourceFunction["SpinShow"][gr,30]
Out[]=
Another Approach
Another Approach
Development for surface area:
Method 1:
Surface area of the cylinder portion above the XY plane:
Total surface area:
Method 2:
Graph: