Matlab

Given   
Find the roots using False Position and Fixed Point Iteration between x = 0 and 5.
False Position:
Fixed Point Iteration:
1.Rearrange the function f(x) = 0 so that x is on the left side of the equation.
2.Express x = g(x) in iterative formula to predict a new value of x.


Graphical Method to find the range of the roots




Output




  • The range between 0 to 1, 2 to 3 and 3 to 4.

False Position Method




Output (xl =0 and xu =1)




Fixed-Point Iteration




Output

No comments :