I am currently somewhat stuck on a calculus of variations question. Normally I'd just use the Euler-Lagrange equation, however I am somewhat confused by the max in the integrand. Hence I was hoping whether someone of you could help me to maximise
with respect to the function .
Help would be greatly appreciated!