Question: this needs to be in python language and readable. thanks 4. The equation F(x)=x2-5x+1=0 has a root between x = 2 and x = 2.5.
4. The equation F(x)=x2-5x+1=0 has a root between x = 2 and x = 2.5. To find the root by using the fixed-point iteration method, the equation has to be written in the form x = 9(x). Derive two possible forms for g(x) - one by solving for x from the first term of the equation, and the next by solving for x from the second term of the equation. 1. Determine which form should be used according to the condition in Eq. (3.30). 2. Write a python program that uses fixed point iteration 1. Use both forms of g(x) you derived to observe convergence/divergence of the fixed point method. Make a graph depicting the convergence/divergence of each form of g(x). Note: In all of your programs you will use relative error (below) as a stopping criterion This can be expressed as percent error by multiplying the above equation by 100%. In the programs for this assignment let
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
