Question: Write a user-defined MATLAB function regulafalsi(fx, xl, xu, sigfig) to calculate a real root of a function fx(x) within the bounds (xl > You can

Write a user-defined MATLAB function regulafalsi(fx, xl, xu, sigfig) to calculate a real root of a function fx(x) within the bounds (xl > You can use the function error_calc, developed in question 2, to determine the relative iterative error. The first line of the MATLAB function must read as function [xr, numIT, errCode] = regulataisi(fx, x1, xu, sigfig) Write a user-defined MATLAB function regulafalsi(fx, xl, xu, sigfig) to calculate a real root of a function fx(x) within the bounds (xl > You can use the function error_calc, developed in question 2, to determine the relative iterative error. The first line of the MATLAB function must read as function [xr, numIT, errCode] = regulataisi(fx, x1, xu, sigfig)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
