First, let's clean up the functional: Really, if we want to minimize that integral, we can just move U across the integral sign right, and let's put the exponential in the numerator:
[tex]\mathbf{T}[y(x)]=\frac{1}{U}\int_{p_1}^{p_2} e^{y/h}\sqrt{1+(y^{'})^2}dx[/tex]
So:
[tex]F(x,y,y^{'})=e^{y/h}\sqrt{1+(y^{'})^2}[/tex]
and therefore:
[tex]\frac{\partial F}{\partial y}=\frac{e^{y/h}\sqrt{1+(y^{'})^2}}{h}[/tex]
and:
[tex]\frac{\partial F}{\partial y^{'}}=\frac{e^{y/h}y^{'}}{\sqrt{1+(y^{'})^2}}[/tex]
and so:
[tex]
\begin{align*}<br />
\frac{d}{dx}\left(\frac{\partial F}{\partial y^{'}}\right)&=\frac{d}{dx}\left[\frac{e^{y/h}y^{'}}{\sqrt{1+(y^{'})^2}}\right] \\<br />
<br />
&=\frac{d}{dx}\left[e^{y/h}y^{'} \cdot \frac{1}{\sqrt{1+(y^{'})^2}}\right] \\<br />
<br />
&=\left[e^{y/h}y^{'}\cdot\frac{-1/2}{(1+(y^{'})^2)^{3/2}}\cdot 2 y^{'}y^{''} \\<br />
<br />
&+\frac{1}{\sqrt{1+(y^{'})^2}}\left(e^{y/h}y^{''}+y^{'}\frac{1}{h}y^{'}e^{y/h}\right) \\<br />
<br />
&=\frac{e^{y/h}y^{''}}{\sqrt{1+(y^{'})^2}}-\frac{e^{y/h}(y^{'})^2y^{''}}{(1+(y^{'})^2)^{3/2}}+<br />
\frac{e^{y/h}(y^{'})^2}{h\sqrt{1+(y^{'})^2}}<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
\end{align}[/tex]
So, once we obtain the partials, then we substitute them into the Euler equation and equate the expression to zero. Now, can you please substitute these expressions into:
[tex]\frac{\partial F}{\partial y}-\frac{d}{dx}\left(\frac{\partial F}{\partial y^{'}}\right)=0[/tex]
and post the results?
Also, with regards to h=1: I just worked the problem with that value and obtained the results you indicated. Perhaps it works for any value of h. Not sure.