Question: Answer using MatLab only. Develop 3 user defined functions to evaluate the root of an equations f(x) using Bisector, False- Position and Modified False-Position methods.
Develop 3 user defined functions to evaluate the root of an equations f(x) using Bisector, False- Position and Modified False-Position methods. Inputs for each user defined function: - Equation f(x) as an anonymous function - Lower and upper bounds - Desired approximate percent relative error is n significant figures. Test your function by calculating the lowest positive root of f=x525x2+25, which is 1.0211 Requirements for each function: - Must use while loop. - Error definition. ca=CurrentapproximationCurrentapproximationPreviousapproximation100% - Must use if statement(s) - Output display: Using \#\#\# Method, the root is located at \#\#\# after \#\# iterations. - Files must be labeled respectively: Bisector_lastname.m FPM lastname.m MFPM lastname.m
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
