Ask Your Question

Revision history [back]

I think cylindrical_plot3d might be what you're looking for. I don't know how to plot the entire solid, but you can plot it's boundary using the equations for the boundary of the region you have in the x-y plane.

I think cylindrical_plot3d might be what you're looking for. Convert your equations to give x as a function of y, and then use this to compute the radius for each value of y. Of course you also need to compute where your equations intersect to get the appropriate bounds for y. I've omitted this step for now . . .

sage: var('y,theta')
(y, theta)
sage: s1 = cylindrical_plot3d(y+1,(theta,0,3*pi/2),(y,0,1), opacity=1, aspect_ratio=1)
sage: s2 = cylindrical_plot3d(sqrt(y)+1,(theta,0,3*pi/2),(y,0,1), opacity=.5, color='red')
sage: s1+s2

image description

(Note, in this version I don't know how just let theta run from 0 to plot 3*pi/2 so you could see just part of the revolved surfaces. Go all the way to 2*pi to see the entire solid, but you can plot it's boundary using the equations for the boundary of the region you have in the x-y plane.object.)