To define the function
h : (x, y) [x*cos(y), x*sin(y)].
Input :
h(x,y):=[x*cos(y),x*sin(y)];
Or :
h:=(x,y)->[x*cos(y),x*sin(y)];
Or :
h(x,y):={[x*cos(y),x*sin(y)]};
Or :
h:=(x,y)->return[x*cos(y),x*sin(y)];
Or :
h(x,y):={return [x*cos(y),x*sin(y)];}
Output :
(x,y)->{return([x*cos(y),x*sin(y)]);}