function z=top(x,y)

% Eliza Dubroff
% 4/24/97
% ps7#1
% the top of the fill layer

z=((sin(0.01*x))^3) - ((cos(0.005*y))^3) + 30;