Question: Plot a graph of a cone of height 3 and ra- dius 1. Use the parametrization r = r cos0, y =rsin 0, z
Plot a graph of a cone of height 3 and ra- dius 1. Use the parametrization r = r cos0, y =rsin 0, z = 3r: 0r1, 0 0 2 Hint: Use me shgrid to generate a grid on the (r.) domain; on this domain define X, Y, Z according to the given formulas; then surf (X, Y, Z). Plot a graph of a hemisphere with radius 1. Use the parametrization x = r cos 0 sin, y = rsinsino, z=rcoso; r = 1, 00 2, 0 /2 (c) Combine the ideas of parts (a) and (b) to plot an ice cream cone, similar to the one in the figure. Hint: axis off (d) Experiment with colour and the shading function to give the ice cream a more realistic appearance. Also add some sprinkles to the top. (We plan to have a hall-of-fame on SUNLearn with the ten best looking ice creams.)
Step by Step Solution
3.53 Rating (156 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
