Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem 2. Use the M-file given below for the false position method to determine the drag coefficient needed so that an 95-kg bungee jumper has

image text in transcribed

Problem 2. Use the M-file given below for the false position method to determine the drag coefficient needed so that an 95-kg bungee jumper has a velocity of 46 m/s after 9 s of free fall. Note: The acceleration of gravity is 9.81 m/s2. Start with initial guesses of XI-0.2 and xu-0.5 and iterate until the approximate relative error falls below 5%. 1 function [root ,ea, iter falsepos (func , xl ,xu, es , maxit , varargin) 2% falsepos: root location zeroes 3% [root ,ea , iter-fa ls e pos (func , xl ,xu,es.maxit ,p1 , p2 , ): uses false position to find the root of func 5 % input: 6% func-name of function 7% xi, xu= lower and upper guesses 8% es-desired relative error (default-0.0001%) 9% maxit= maximum allowable iterations (default=50) 10 % p1,p2, additional parameters used by function 11 % output: 12% root= real root 3% ea approximate relative error (%) 14% iter= number of iterations 15%% input validation L6 if nargin 0,error ('no sign change') ,end 19f nargin = maxit, break, end 9end 10 | root xr ; ea

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

Step: 3

blur-text-image

Ace Your Homework with AI

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

Get Started

Students also viewed these Databases questions

Question

Have I incorporated my research into my outline effectively?

Answered: 1 week ago