function f = quad(x)
% Calculate square: f(x) = x*x
f = x*x;