|
Asymptote:
import graph3;
size(200);
real H = 3;
real R = 1;
triple f(pair p) {
real t=p.x;real theta=p.y;
return ((t*R*cos(theta) + (1-t)*R*cos(theta)),
t*R*sin(theta),
(1-t)*(H-R*sin(theta)));
}
surface s = surface(f, (0,0), (1, 2pi),20);
draw(s,lightgray,meshpen=red,render(merge=true));
HTML链接 (光标拖动可旋转视角)
Mathematica画图
- H=3;R=1;ParametricPlot3D[{t R Cos[\[Theta]]+(1-t)R Cos[\[Theta]],t R Sin[\[Theta]],(1-t)(H-R Sin[\[Theta]])},{t,0,1},{\[Theta],0,2\[Pi]}]
复制代码Given a circular cylinder with height $H$, and radius of the base circle $r$. Rotate the bottom surface 90 degrees around a diameter to generate a solid. Find the volume of the solid.
ChatGPT生成的回答
胡乱瞎答 We can start by considering the original cylinder and the solid generated by rotating the bottom surface around a diameter as shown in the figure below.
import three;
size(200);
currentprojection=orthographic(1/2,-1,1/2);
defaultpen(linewidth(0.7));
real r=1,H=2;
triple O=(0,0,0), A=(r,0,0), B=(0,0,H), C=(r,0,H);
draw(surface(B--C--C+(0,0,-0.2)--B+(0,0,-0.2)--cycle),paleyellow,nolight);
draw(surface(O--A--C--B--cycle),paleyellow,nolight);
draw(B--O--A);
draw(O--B,dashed);
draw(A--C,dashed);
draw(C--B,dashed);
draw(circle((r,0,H/2),r),dashed);
label("$r$",(r/2,0,H),N);
label("$H$",(0,0,H/2),W);
label("$O$",(0,0,0),SE);
label("$A$",(r,0,0),S);
label("$B$",(0,0,H),N);
label("$C$",(r,0,H),NE);
Let $O$ be the center of the base circle and $A$ be a point on the circumference of the base circle. Let $B$ be the point on the axis of the cylinder directly above $A$, and let $C$ be the corresponding point on the solid. Note that $ABC$ is a right triangle with right angle at $B$, and $OC$ is perpendicular to the plane $OAB$. Therefore, $OC$ is the altitude of the triangle $OAB$ from the vertex $O$, and has length $r$.
Now consider the cross section of the solid perpendicular to the axis, as shown in the figure below.
size(100);
defaultpen(linewidth(0.7));
real r=1,H=2;
pair O=(0,0), A=(r,0), B=(0,H), C=(r,H);
draw(B--C--A--O--cycle);
draw(O--B,dashed);
draw(O--C,dashed);
draw(circle((r,0),r),dashed);
label("$r$",(r/2,0),S);
label("$H$",(0,H/2),W);
label("$O$",(0,0),SE);
label("$A$",(r,0),S);
label("$B$",(0,H),N);
label("$C$",(r,H),NE);
This is a rectangle with base $BC$ (which is equal to the circumference of the base circle) and height $OC=r$. Therefore, the area of this cross section is $A=BC\cdot OC=2\pi r^2$. Integrating this area over the height $H$ of the solid, we obtain the volume:
\begin{align*}
V &= \int_0^H A , dx \\
&= \int_0^H 2\pi r^2 , dx \\
&= 2\pi r^2 \int_0^H dx \\
&= 2\pi r^2 \cdot H \\
&= \boxed{2\pi r^2 H}.
\end{align*} |
|