% hw03cad.m  -  Derivative for fcn of M604 HW0c C(a)
%
% Input parameter xy must be a column vector with two components.
% Output is a row vector of length 2.

function z = hw03cad(xy)

z = zeros(1,2);

x = xy(1);
y = xy(2);

z = [4*x^3+2*(x+y), 2*(x+y)+2*exp(y)*(exp(y)-1)];
