% esercizio 3 - script
clear

x = linspace( -2, 2, 101 );
y = linspace( -2, 2, 101 );

[ X, Y ] = meshgrid( x,y );

Z = exp( -(X.^2 + Y.^2) ) .* sin( sqrt(X.^2 + Y.^2) );

figure(31)
clf
surf(X,Y,Z);
%axis equal

figure(32)
clf
contour(X,Y,Z);
axis equal


