Question: Free fall of a Bungee Jumper using Bisection algorithm The following analytical solution can be used to predict fall velocity of a bungee jumper as
Free fall of a Bungee Jumper using Bisection algorithm
The following analytical solution can be used to predict fall velocity of a bungee jumper as a function of time:
The graph of the velocity plotted for mass values between and is plotted in the MATLAB function with a drag coefficient of The root to have a velocity of after of free fall is seen when the mass is about
Note: The acceleration of gravity is
Use bisection to solve the problem. For this purpose, create a "bisection" function and call it to solve the problem withing lower and upper bounds of mass as and
Your function should accept the following inputs:
fun a handle to a MATLAB function of the form fun that returns as the output.
lower bound
upper bound
es desired relative error for the root, which should be a limit for the approximate error a given by
maxit maximum number of iterations
Your function should return the following output:
root computed root estimate
function result with the root estimate
ea approximated error
iter iteration number
Terminate the search when the desired relative error threshold is reached or when the iteration limit is reached whichever occurs first
Test Solve the problem until the approximate error falls below a stopping criterion of for xl and This is the pretest solution Set maxit
Test Solve the problem until the approximate error falls below a stopping criterion of for and Set maxit
Test Solve the problem for maxit to see if the code stops when iter
Do not use the MATLAB solver functions like fzero, solve, roots, etc.
I ONLY HAVE ONE CHANCE TO SUBMIT. PLEASE FOLLOW THE INSTRUCTIONS AND CHECK THE ASSESSMENT BELOW. ASSESSMENT SHOWS THINGS OUR TUTOR WIILL CHECK!
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
