This came from a physics wave book. I have a static, massive wire on the x-axis, with a y-displacement due to a force per unit length $F_y$. I start with the equation $F_y = ...
The height of a string in a gravitational field in 2-dimensions is bounded by $h(x_0)=h(x_l)=0$ (nails in the wall) and also $\int_0^l ds= l$. ($h(0)=h(l)=0$, if you take $h$ as a function of arc ...