**MatLab exercise: Develop a user-friendly program to solve questio…
Develop a user-friendly program to solve question 6.3, print out the program and the results and attach them to the HW
6.3 Use (a) fixed-point iteration and (b) the Newton-Raphson method to determine a root of f(x) = X2+1.8x + 2.5 using x0= 5. Perform the computation until εa is less than εs = 0.05%.
Develop a user-friendly program to solve example 6.10, print out the program and the results and attach them to the HW.
Problem Statement: Use both the standard and modified Newton-Raphson methods to evaluate the multiple root of Eq. (6.11), with an initial guess of x0 = 0.
F(x) = (x-3)(x-1)(x-1)
Click the button below to view answer!
Technifi Expert’s Answer:
clc clear all [email protected](x) (-x^2+1.8*x+2.5); [email protected](x) (-2*x+1.8); x(1)=5; i=1; error=1; while abs(error)>=.05 x(i+1)=x(i)-f(x(i))/df(x(i)); error=100*abs( x(i+1)-x(i))/ x(i+1); i=i+1; end root =x(i) error
root =2.7193 error = 3.1555e-05
If you happen to run into some problem while following the steps, please make sure to let us know in the comment section below, and we’ll do our best to solve it. Apart from that, you can contact us on Facebook and Twitter, however we can’t guarantee a rapid reaction time over those platform