@loocas_duber: It's probably best for you to get very basic functionality working first, and then add on other stuff. In particular, you should get something that can just plot y = cosh(x) in 3D. After that you can make things fancier by allowing the user to specify a pair of points and draw the catenary through them. The above algebra and discussion gives the vast majority of the ideas needed for that, though.