Let $a>0$ be a fixed real number and consider the semi-circle $y(x)=\sqrt{(a/2)^2-(x-a/2)^2}$ for $x\in [0,a]$.
Let $Y=\{u\in C([0,a]):\ u(0)=u(a)=0,\ u\geq 0,\ \ell(u)=2a\}$, where $\ell(u)$ denotes the length of the graph of the curve.
Consider the two functional $F: Y\to [0,\infty)$ and $G:Y\to [0,\infty)$ defined by $$F(u)=\int_0^au(x)dx,\ G(u)=\|u-y\|_{C([0,a])}$$
Is true that the maximum of $F$ is the minimum of $G$?
Thank you