ch2_3.mw


Session 2.3 A three dimensional plot

> restart;

> f:=(x,y)->x*exp(-x^2-y^2);Note the definition of the function with two variables

f := proc (x, y) options operator, arrow; x*exp(-x^2-y^2) end proc

> plot3d(f(x,y),x=-2..2,y=-2..2,title=`3D plot of f(x,y)`);

[Plot]

>