Maximize[{x^2+y^2+z^2,x^4+y^4+z^4== 1},{x,y,z}]