maximize x^2+y over x^2+y^2=1