> | with(plots): |
Warning, the name changecoords has been redefined
> | surface:=plot3d(x^2+2*y^2,x=-sqrt(12)..sqrt(12),y=-sqrt(6-x^2/2)..sqrt(6-x^2/2),axes=boxed,labels=[x,y,z]): |
> | top:=plot3d(8,x=-sqrt(12)..sqrt(12),y=-sqrt(6-x^2/2)..sqrt(6-x^2/2),color=blue): |
> | bottom:=plot3d(2,x=-sqrt(12)..sqrt(12),y=-sqrt(6-x^2/2)..sqrt(6-x^2/2),color=green): |
> | display(surface,top,bottom); |
> | display(surface,top,bottom); |
I changed the view above manually by grabbing it with my mouse. I could have changed the view setting.
> | Volume:=int(Pi*z/sqrt(2),z=2..8); |
> |