AreaCylinderSpherePlaneXY::usage="The surface area between the cylinder (x-5 + = 25 and the sphere + + = 100, above the XY plane, it will be obtained. Reference: Personal.";
2
)
2
y
2
x
2
y
2
z
In[]:=
Show[{ParametricPlot3D[{10Cos[u]Sin[v],10Sin[u]Sin[v],10Cos[v]},{u,0,2π},{v,0,π},PlotStyle->Directive[Opacity[0.7],Specularity[White,30]],MeshFalse,ColorFunction->"BlueGreenYellow",PerformanceGoal->"Quality",PlotPoints->40],ParametricPlot3D[{5Cos[t]+5,5Sin[t],v},{t,0,2π},{v,-10,10},PlotStyle->Directive[Opacity[0.7],Specularity[White,30]],MeshFalse,ColorFunction->"BlueGreenYellow",PerformanceGoal->"Quality",PlotPoints->40],ContourPlot3D[z==0,{x,-10,10},{y,-10,10},{z,-5,5},MeshNone,ContourStyle->{Green,Opacity[0.8]}]},AxesLabel->(Style[#,15,Blue]&/@{"X","Y","Z"}),AxesOrigin{0,0,0},AxesTrue,BoxedFalse,BoxRatiosAutomatic,PlotRangeAll,ImageSize700,ViewPoint{1.3,-2.4,1}]
Out[]=
Development for surface area:
Method 1:
Viviani’s vault:
In[]:=
f[x_,y_]:=[x_,y_]=D[f[x,y],x];[x_,y_]=D[f[x,y],y];
100--
;2
x
2
y
f
x
f
y
1+[x,y]+[x,y]
//FullSimplify2
f
x
2
f
y
10
-
;1
-100++
2
x
2
y
In[]:=
x=rCos[θ];y=rSin[θ];+-10x==0;+-10rCos[θ]==0;r(r-10Cos[θ])==0;0<=r<=10Cos[θ];-<=θ<=;=2(10)
2
x
2
y
2
r
2
Cos[θ]
2
r
2
Sin[θ]
π
2
π
2
A
1
π
2
∫
0
10Cos[θ]
∫
0
-
rrθ1
-100+
2
r
100(-2+π);
Cylinder base:
A
2
2
(5)
Portion of the cylinder:
In[]:=
Solve[{+==25,++==100},{y,z}]
2
(x-5)
2
y
2
x
2
y
2
z
y-
10x-
,z-2
x
10
10-x
,y-10x-
,z2
x
10
10-x
,y10x-
,z-2
x
10
10-x
,y10x-
,z2
x
10
10-x
;In[]:=
g[x_,z_]:=[x_,z_]=D[g[x,z],x];[x_,z_]=D[g[x,z],z];
25-
;2
(x-5)
g
x
g
z
1+[x,z]+[x,z]
//FullSimplify2
g
x
2
g
z
5;
1
10x-
2
x
By symmetry:
In[]:=
A
3
10
∫
0
10
10-x
∫
0
1
10x-
2
x
200;
Total area:
A
T
125π;
Method 2:
In[]:=
ℜ=ImplicitRegion[+<=25&&++<=100&&z>=0,{x,y,z}];SurfaceArea[ℜ]
2
(x-5)
2
y
2
x
2
y
2
z
125π;
Graph:
In[]:=
Solve[{+==25,++==100},{x,y}]
2
(x-5)
2
y
2
x
2
y
2
z
x(100-),y-(100-),y
1
10
2
z
1
10
100-
,x2
z
4
z
1
10
2
z
1
10
100-
;2
z
4
z
In[]:=
Reduce[100->=0,z]
2
z
4
z
-10≤z≤10;
Only for z ≥ 0:
0≤z≤10;
In[]:=
gr=Showν[t_]:=(100-),-[t_]:=(100-),+<=25&&++<=100&&z>=0,{x,0,10},{y,-5,5},{z,0,10},Mesh->None,PlotStyle->Directive[Green,Opacity[0.3],Specularity[White,40]],PerformanceGoal->"Quality",PlotPoints120,BoundaryStyleDirective[Black,Thick]],ParametricPlot3D[{ν[t],[t]},{t,0,10},PlotStyleBlack]/.Line[pts_,rest___]:>Tube[pts,0.026,rest]},AxesLabel->(Style[#,15,Blue]&/@{"X","Y","Z"}),Axes->True,AxesOrigin{0,0,0},Boxed->False,BoxRatios->Automatic,ViewPoint->{1.3,-2.4,2.},ImageSize700,PlotRange{{0,10},{-5,5},{0,10}}
1
10
2
t
1
10
100-
,t;2
t
4
t
ν
1
1
10
2
t
1
10
100-
,t;{RegionPlot3D[2
t
4
t
2
(x-5)
2
y
2
x
2
y
2
z
ν
1
Out[]=