VolumeEllipticCylinderPlane::usage="Calculate the volume between the elliptic cylinder + 4 = 4 and the plane x + z = 2 in the first octant.References: Internet: Ronny on line; Personal.";
2
z
2
y
Development for volume:
Method 1 (See development for the graph below):
In[]:=
V=xzy
1
∫
0
2
1-
2
y
∫
0
2-z
∫
0
Out[]=
-+π
4
3
Method 2:
In[]:=
ℜ=ImplicitRegion[+4<=4&&x+z<=2&&y>=0&&z>=0&&x>=0,{x,y,z}];Volume@RegionIntersection[ℜ]
2
z
2
y
Out[]=
-+π
4
3
Development for the graph:
In[]:=
Solve[{+4==4,x+z==2},{x,z}]
2
z
2
y
x21+
1-
,z-22
y
1-
,x21-2
y
1-
,z22
y
1-
;2
y
In[]:=
Reduce[1->=0,y]
2
y
-1≤y≤1;0<=y<=1;
It’s only the first octant.
Animation:
In[]:=
Manipulateζ[t_]:=21-[t_]:=0,t,2+4<=4&&x+z<=2,{x,0,2},{y,0,1},{z,0,t1},Mesh->None,PerformanceGoal->"Quality",PlotPoints60,BoundaryStyleDirective[Black,Thick],PlotStyleDirective[Green,Opacity[0.3],Specularity[White,40]]],ParametricPlot3D[ζ[t],{t,0,1},PlotStyleBlack]/.Line[pts_,rest___]:>Tube[pts,0.005,rest],ParametricPlot3D[[t],{t,0,1},PlotStyleBlack]/.Line[pts_,rest___]:>Tube[pts,0.005,rest],Graphics3D[{Black,Thick,Line[{{0,0,0},{0,0,2}}]}],Graphics3D[{Black,Thick,Line[{{0,0,2},{2,0,0}}]}]},AxesLabel->(Style[#,15,Blue]&/@{"X","Y","Z"}),AxesOrigin{0,0,0},AxesTrue,BoxedFalse,BoxRatiosAutomatic,PlotRange{{0,2},{0,1},{0,2}},ViewPoint{1.3,2.4,1.5},ImageSize700],Style["Volume between an elliptic cylinder and plane:",Bold,Large],{{t1,0.00002,"Value (t1)"},0.00001,2,0.00001},ControlPlacementTop
1-
,t,22
t
1-
;2
t
ζ
1
1-
;Show[{RegionPlot3D[2
t
2
z
2
y
ζ
1
Out[]=

