k = 1.5
Have been asked to use MATLAB to plot
Question 2: Hanging Cable It...
Question 2: Hanging Cable It can be shown that the curve y(x) of an inextensible flexible homogeneous cable hanging between two fixed points is obtained by solving the following equation: 22 / 1+1 =k, dr where the constant k depends on the weight. This curve is called a "catenary' ("chain' in Latin). Find and plot y(x), assuming a given value for k and those fixed points are (-1,0) and (1,0) in a vertical xy-plane, using the 4th order Runge-Kutta method with a step of 0.025. N.B. you should use a reasonable estimate for the initial slope and modify the spreadsheet until the solution is correct i.e. the slope at the midpoint is zero.