Given two points $A =(x_1,y_1)$, $B = (x_2,y_2)$ and length $L$, how do I plot a parabolic segment of length $L$ that connects A and B? The vertex of the parabola $(p, \, q)$ should be such that $x_1 \leq p \leq x_2$ and $q \leq y_1, y_2$.
In other words, I need to draw a parabolic segment connecting $A$ and $B$ with length $L$ that looks like a 'U' shape, with the vertex being below $A$ and $B$.
Thanks.
To amplify Beta's answer, if you write the equation as $y=a(x-b)^2+c$ the fact that the two points need to be on the parabola gives two equations in $a,b,c$. Your constraints on the vertex become constraints on $a, b$ and $c$. The arclength from $x_1$ to $x_2$ is $L=\left.\frac{1}{2a}\sqrt{1+4a^2(x-b)^2}+\frac{1}{2}\ln\left(2a(x-b)+\sqrt{1+4a^2(x-b)^2}\right)\right|_{x_1}^{x_2}$ and this is a third equation in $a$ and $b$. It looks like you are into a numeric solution, but you do have enough constraints.