I'm finding this odd since the only functions i've looked at are of the form not .Write down the Euler-Lagrange equations for critical points of the functional

I only thought the Euler-Lagrange equations were defined the the first type of function, not the second.

Would I do it like this:

So the E-L equation is

Which becomes