Question
Problem #4: Please, refer to the picture of Excercise 3: Write a VBA code that correspond with the situation: Re-do problem #3 (you can reuse
Problem #4: Please, refer to the picture of Excercise 3: Write a VBA code that correspond with the situation:
Re-do problem #3 (you can reuse steps 1 and 2 as is) but create a program in VBA to perform step 3.
Use your machine's epsilon as the value (in %) for es. You may use the pseudocode presented in class as a starting point (remember there are a couple lines missing!)
FUNCTION Bisect(xl, xu, xr, es, imax) iter = 0 DO xrold = xr xr = (xl + xu)/2 iter = iter + 1 IF xr 0 THEN ea = (xr - xrold)/xr)*100 END IF test = f(xr) * f(xu) IF test
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