Question: Available for you to use in this problem is the following function: function [ root , err _ approx,iter ] = bisection ( f ,
Available for you to use in this problem is the following function:
function rooterrapprox,iter bisection errstop, maxiter
Recall that the formula for the velocity of a bungee jumper from Section is:
Note that is the velocity of the jumper, is the acceleration of gravity, is the mass of the jumper, and is the simplisitic drag coefficient for air resistance.
Write a script that uses the bisection function to estimate the drag coefficient needed for a kg bungee jumper to have a velocity of after sec of free fall, the approximate relative
percent error, and the number of iterations needed. Start with initial guesses and and continue until the approximate relative percent error falls below Assume
Requirements:
Assign the following variables to the given values: and
Create an anonymous function you will use to solve this problem.
Assign the variable root to the solution of the problem.
Assign the variable errapprox 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.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
