Question: Must use Python to complete. Free Hanging Cable A free hanging cable suspended from two fixed points takes the shape of a catenary curve (see

 Must use Python to complete. Free Hanging Cable A free hanging
cable suspended from two fixed points takes the shape of a catenary
curve (see below). The equation of a catenary curve is : y

Must use Python to complete. Free Hanging Cable A free hanging cable suspended from two fixed points takes the shape of a catenary curve (see below). The equation of a catenary curve is : y = acosh where cosh() is defined as : B2 B4 B6 cosh() = 1 + 2! 4! 6! Ben + + + (2n)! n=0 Write a Python program which will calculate the value of cosh() from first principles (i.e. do not use a built in function. However, you may use the factorial function). Your code should : Ask the user for the required level of precision. Stop the calculation when that level is reached. (i.e. when the difference between the nth term and the (n-1)th term is less than the required precision). Once you have confirmed your code is giving you the correct answer, change it so that it will now plot a series of catenary curves for various values of a across a fixed range of x. Your code should Ask the user for a starting point, an end point and an increment for x. Ask the user for a starting point, an end point and an increment for a . Check to make sure you have valid entries for a...>, etc.) Display a graph with appropriate labels for the axes, title and curves (see below A sample figure screen Catenary Curves 35 () epnde 2.5 2 2 1.5 a=1.00 a=1.50 a 200 a=2.50 - 300 1 -2 -1,5 -1 -0.5 0.5 1,5 2 0 position (x)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!