Answered step by step
Verified Expert Solution
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
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started