Message Boards Message Boards

0
|
17548 Views
|
3 Replies
|
5 Total Likes
View groups...
Share
Share this post:

How to 3D plot a volume of revolution?

Posted 11 years ago
Hi

I'm currently teaching how to calculate volumes of revolution using integration,
for e.g. suppose f(x)=x^2 is rotated 360 degrees about the x-axis from x = 2 to x=4, the volume generated would be given by
Integral[Pi(f(x))^2,2,4]

What I'm trying to do is plot the generated volume for explanation and demonstration purposes.

some of the more complicated examples are something like, 
The region bounded by the curve y=9-x^2, x=2 and the x-axis is rotated 2Pi radians about the y-axis, calculate the volume of the solid generated.
I know how to calculate the actual volume, but is there any easy way of plotting the solid formed in mathematica.
POSTED BY: Hifas Faiz
3 Replies
Dear Hifas,

are you looking for something like this?
RegionPlot3D[
Sqrt[y^2 + z^2] < x^2, {z, -16, 16}, {y, -16, 16}, {x, 2, 4}]

which gives

POSTED BY: Marco Thiel
Dear Sean,

I thought that RevolutionPlot3D only shows the surface, i.e.
RevolutionPlot3D[Sqrt[t], {t, 0, 4}, AspectRatio -> 1]



I thought that the question was how to plot a "solid", i.e the volume not the surface. I tried the option "Filling", but that does apparently not work. Is there an option to get RevolutionPlot3D to draw solids?

BTW, there is this nice demonstration:

http://demonstrations.wolfram.com/SolidsOfRevolution/

but as far as I can see the author did not use RevolutionPlot3D either.
POSTED BY: Marco Thiel
RevolutionPlot3D is also very useful for plotting rotated functions in general if you want to show it done with less math. 
POSTED BY: Sean Clarke
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract