Use the procedure based on Lagrange multipliers to find the global extrema of the function f:R³->R given by
f(x,y,z)=x-y+z
on the unit sphere D={(x,y,z)inR³|x²+y²+z²<=1}.