Matlab Newton-Raphson Solver - Catenary Problem

A classical problem in engineering is the Catenary problem. This problem is an idealized model of the static equilibrium of a rope or chain suspended from 2 points. The solution to the problem is
y = a*cosh(x/a)
where a is a constant to computed and x ∈ (−h/2, h/2). If, additionally, you are given the length of the suspended rope, L, the following equation needs to be solved to compute the constant a:
L= (2a)*sinh (h/2a)
Assuming h = 97 and L = 100, use a Newton solver to compute a. Compare with using MATLAB’s fzero command. Plot the resulting Catenary curve.
Thanks!

2 Comments

Will there be a difference between finding a solution based on fzero and newton-euler method ?
What do you mean with "difference" ? "difference" in what ?

Sign in to comment.

Products

Asked:

on 19 Oct 2014

Commented:

on 28 Jul 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!