Question: Please solve using MATLAB code 2.5.0.0 Exercise 1: Modify the MATLAB code for the bisection method as shown in Figure 12 to implement the false

 Please solve using MATLAB code 2.5.0.0 Exercise 1: Modify the MATLABcode for the bisection method as shown in Figure 12 to implement

Please solve using MATLAB code

2.5.0.0

Exercise 1: Modify the MATLAB code for the bisection method as shown in Figure 12 to implement the false position method (call the function false pos.m) for finding roots. a. Calculate the root of the equation shown below using both bisection and false position methods. Use a stopping criterion of 0.5% (Note: There is only one root for this equation) b. How many iterations are required to calculate the root for each method? Explain this c. Compare the root obtained from both methods and compute their percentage relative error Rootbisection-Rootfalse position I * 100% discrepancy using the formula below. Rootbisection Exercise 2: Calculate the root of the equation in section 3 (Figure 14) using the zere function in MATLAB and compare the roots obtained from the Newton-Raphson method. Rootfzero-RootNewton-Raphson'. * 100% Rootfzero Exercise 1: Modify the MATLAB code for the bisection method as shown in Figure 12 to implement the false position method (call the function false pos.m) for finding roots. a. Calculate the root of the equation shown below using both bisection and false position methods. Use a stopping criterion of 0.5% (Note: There is only one root for this equation) b. How many iterations are required to calculate the root for each method? Explain this c. Compare the root obtained from both methods and compute their percentage relative error Rootbisection-Rootfalse position I * 100% discrepancy using the formula below. Rootbisection Exercise 2: Calculate the root of the equation in section 3 (Figure 14) using the zere function in MATLAB and compare the roots obtained from the Newton-Raphson method. Rootfzero-RootNewton-Raphson'. * 100% Rootfzero

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!