Question: PLEASE USE PYTHON!!!! Write a script that uses the fixed-point iteration method to determine a root of f(x)=0.9x2+1.7x+2.5 using x0=5. Also compute a root of
PLEASE USE PYTHON!!!!
Write a script that uses the fixed-point iteration method to determine a root of f(x)=0.9x2+1.7x+2.5 using x0=5. Also compute a root of this function using the Newton-Raphson method and code discussed in class. In both cases, perform the computation until the approximate relative error a0.01%. Compare your final answers to the analytical solution. Which method performs better and why? What can you do to obtain the other root with the same methods? Along will all results, turn in your fixed-point iteration code
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
