% Uppgift a)

x = 1:4:85;
y = 0:-.1:-2.1;
z = 2.^(-[1:22]);

u = x+y.*z;
v = exp(y.*z./x);


% Uppgift b)

x = 0:0.01:2;
y = sin(x).*cos(x.^2);
plot(x,y)

figure(2)

x = 1:.05:2;y = 0:0.1:3;
[X,Y] =meshgrid(x,y);
Z = Y.*sin(X+Y);
mesh(X,Y,Z)
