I wanted add a Parabola to my Manipulate/Plot, that have the same length and the same hanging points as the Catenary, so that when I Manipulate(Modify) the position of the Points A and B of the Catenary, it will also modify the form of the Parabola. So I'm trying to interpose the Parabola of the Catenary.. Do you have an idea? Here is my code for Manipulating the Catenary:
Needs["PlotLegends`"]
catenary[x_] := a*Cosh[(x - c)/a] + y
m = Manipulate[Module[{root}, (root = FindRoot[catenary[#[[1]]] == #[[2]] & /@ pt, {{y, 0}, {c, 0}, {a, 1}}];
Show[Plot[catenary[x] /. root, {x, pt[[1, 1]], pt[[2, 1]]}, AspectRatio -> 3/2],
Graphics[{{Red, Point[pt]},
Text[Style["A " <> ToString[pt[[1]]], "Subsection"], .2 +
pt[[1]]],
Text[Style["B " <> ToString[pt[[2]]], "Subsection"], .2 +
pt[[2]]],
Text[Style["C " <> ToString[pt[[3]]], "Subsection"], .2 +
pt[[3]]]}], PlotRange -> {{-10, 10}, {-10, 10}},
AxesLabel -> {"X", "Y"}, PlotLabel -> "Kettenlinie (Catenary)",
LabelStyle -> Red, AspectRatio -> 1,
ImageSize -> 350])], {{pt, {{-5, 5}, {5, 5}, {0, 0}}}, Locator}, {{pt, {{-1, 1}, {1, 1}, {0, 0}}, ""}, InputField, Background -> Lighter[Yellow], FrameMargins -> 3, BaseStyle -> {"ControlStyle", 14}, ImageSize -> 360}]
Thanks a lot for your help..