Question: How do I draw a cylinder with a curved top

Hello I hope someone can help me with this. How do I draw a cylinder with a curved top? That is a cylinder whose height varies with radial angle The following doesn't work. plot3d(3,angle=0..2*Pi,height=0..cos(angle)+2, coords=cylindrical,axes=boxed); Thank you for any hints or tips Tyrian
Please Wait...