Determine $y(x)$ for which $\int_{0}^{1} x^{2} + y^{'2}dx$ is stationary, subject to $\int_{0}^{1}y^2=2$, $y(0) = 0$, $ y(1) = 0$.
how to solve it?
I tried it: $f=x^{2} + y^{'2}$ and $g=y^2$
then $H=x^{2} + y^{'2}+\lambda y^2 $
then using euler's equation we have:
$y^"-\lambda y^{'}=0$
$y(x)=c_1\epsilon^{-\sqrt\lambda x}+c_2\epsilon^{\sqrt\lambda x}$
{using boundary conditons, we have $c_1=-c_2$}
$y(x)=c_2(-\epsilon^{-\sqrt\lambda x}+\epsilon^{\sqrt\lambda x})$
$y(x)=2 c_2 \sinh\sqrt\lambda x$
now how to get the value of $c_2$ and $\lambda$
how to solve it further?