I would like to find a continuous function $y : [0,4] \to \mathbb{R}$ that minimizes the following functional
$$I (y) := \displaystyle\int_{0}^4\sqrt{y\left(1+(y^{\prime})^2\right)} dx$$
subject to the boundary conditions $y (0) = 5/4$ and $y (4) = 13/4$. How do I solve this minimization problem? I tried and tried, but I can't get rid of the $y^{\prime}$. Whatever I do, I still have a big ugly equation with $y$ and $y^{\prime}$, and even if I change it to $\frac{dy}{dx}$, it doesn't get any better. Anyone has an idea?