Question: Objective Writing and implementing an M-file with user defined functions Project the shape of a cable hanging with no load other than its own weight

 Objective Writing and implementing an M-file with user defined functions Project

Objective Writing and implementing an M-file with user defined functions Project the shape of a cable hanging with no load other than its own weight is a catenary curve. This curve can be described by the function y(x)- Acoshb where A, a, and b are constants, and x ranges from x = 0 to x = xmax. Create an M-file that prompts the user for A, a, and b and x = xmax. it will then determine the minimum height, y, for the cable. Your program will use top-down programming by your writing functions that . Enter all of the data in to the program Print the splash screen Calculate the height of the catenary Print the results from the calculations The program will also use the fminbnd function to determine where the cable is at its lowest. Your program must be well documented with comments including the introductory comments consisting of your name, the date, and a description of the program. Note: There is a template file that you may use to get started. It is called project_4 abc.m and is in the handout folder

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!