Question: Matlab code needed Recall that the formula for the velocity of a bungee jumper from Section 2 . 1 is: v ( t ) =

Matlab code needed
Recall that the formula for the velocity of a bungee jumper from Section 2.1 is:
v(t)=mgc2tanh(cgm2t)
Note that v(t) is the velocity of the jumper, g is the acceleration of gravity, m is the mass of the jumper, and c is the (simplisitic) drag coefficient for air resistance.
Write a script that uses the bisection function to estimate the mass of the bungee jumper so that its velocity will be 36ms after 4 sec of free fall, the approximate relative percent
error, and the number of iterations needed. Start with initial guesses xl=50 and xu=200, and continue until the approximate relative percent error falls below 0.5%. Assume
c=0.25kgm and g=9.81ms2.
Requirements:
Assign the following variables to the given values: v=36,t=4,c=0.25, and g=9.81
Create an anonymous function you will use to solve this problem.
Assign the variable root to the solution of the problem.
Assign the variable err_approx to the approximate relative percent error after the solution is found.
Assign the variable iter to the number of iterations needed until the error fell below the threshold.
 Matlab code needed Recall that the formula for the velocity of

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!