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

function z = hw02cb(xy)

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

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