Practical Exercise 3
Today we will plot some simple surfaces over rectangular regions in the xy-plane. You should consult section 4.2 of the Matlab introduction notes.
Assignment:
1. Plot the following surfaces using the ezsurf command over
the domain -10<x,y<10
In each case, you can move the image around to see it from different angles with the mouse. This is achieved by ``click and drag''. Ask a tutor or friend if you do not know how to do this. If time allows, you might try plotting the above surfaces over different domains.
2. Plot
over the region 0 < x < 10 and -3 < y < 5.
3. Recall that a surface may also be given in the parameterized form
Plot the following parameterized surfaces for various domains
x=r.cos(t), y=r.sin(t), z=r
x=r.cos(t), y=r.sin(t), z=t.