fixed point iteration pseudo code
1. Start
2. Define function as f(x)
3. Define convergent form g(x)
4. Input:
a. Initial guess x0
b. Tolerable Error e
c. Maximum Iteration N
5. Initialize iteration counter: step = 1
6. Do
x1 = g(x0)
step = step + 1
If step > N
Print "Not Convergent"
Stop
End If
x0 = x1
While abs f(x1) > e
7. Print root as x1
8. Stop
Note: g(x) is obtained by rewriting f(x) in the form of x = g(x)