function y = xsqm2(x)
   y = x.^2 - 2
   