Finding the Length of the Cable
Integrate[Evaluate[Sqrt[1 + D[catenary[x,t2], x]^2]],
{x,-50,50}]Mathematica cannot integrate this function exactly. We must approximate the integral using NIntegrate. This command uses an algorithm called Gauss quadrature--but that is the subject of another lesson.
NIntegrate[Evaluate[Sqrt[1 + D[catenary[x,t2], x]^2]],
{x,-50,50}]So you will need an extra 2.6 meters of cable to span 100 meters.
Reference: This problem was adapted from Cheney and Kincaid, Introduction to Numerical Methods.