Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write an m-file that uses the false position method to determine the mass of the bungee jumper with a drag coefficient (c_d) of 0.25kg/m to

image text in transcribed

Write an m-file that uses the false position method to determine the mass of the bungee jumper with a drag coefficient (c_d) of 0.25kg/m to have a velocity of 36m/s after 4s of free fall. Solve the equation given below for the variable m. f(m) = Squareroot gm/C_d tanh (Squareroot gc_d/m middot t) - v(t) Your m-file should prompt the user to enter the lower limit and upper limit and check if the initial guesses bracket a root. If not, your program should prompt the user for new guesses until the user provides values that do bracket the root. Your m-file should then print the iteration number, xl, xu, xr and f(xr) for each iteration. Note that since you are printing values at each iteration, you should not write a function file for the false-position method. Rather, have the false-position code embedded in a regular m-file. Test your m-file for a precision of 0.005 using various initial guesses. The output of your command window should look like that below: Write an m-file that uses the false position method to determine the mass of the bungee jumper with a drag coefficient (c_d) of 0.25kg/m to have a velocity of 36m/s after 4s of free fall. Solve the equation given below for the variable m. f(m) = Squareroot gm/C_d tanh (Squareroot gc_d/m middot t) - v(t) Your m-file should prompt the user to enter the lower limit and upper limit and check if the initial guesses bracket a root. If not, your program should prompt the user for new guesses until the user provides values that do bracket the root. Your m-file should then print the iteration number, xl, xu, xr and f(xr) for each iteration. Note that since you are printing values at each iteration, you should not write a function file for the false-position method. Rather, have the false-position code embedded in a regular m-file. Test your m-file for a precision of 0.005 using various initial guesses. The output of your command window should look like that below

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Management With Website Development Applications

Authors: Greg Riccardi

1st Edition

0201743876, 978-0201743876

More Books

Students also viewed these Databases questions

Question

How should information systems projects be selected and managed?

Answered: 1 week ago

Question

2. What are your challenges in the creative process?

Answered: 1 week ago