% hw03ca.m  -  Test function for C(a) on M604 HW03
%
% Input parameter xy must be a column vector with two components.

function z = hw03ca(xy)

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

z = 1 + x^4 + (x+y)^2 + (exp(y)-1)^2;
