Download as pdf or txt
Download as pdf or txt
You are on page 1of 15

Muller:

1. x^4 – 7.4*x^3 + 20.44*x^2 - 24.184*x + 9.6448


Output :

Stop due to Condition 1 : Absolute relative error


0.8000

Function graph
Error Graph

Bairstow:
1. x^4 – 7.4*x^3 + 20.44*x^2 - 24.184*x + 9.6448
r=4
s = -5
Output :
2.2000 + 0.7999i

2.2000 - 0.7999i

Stop due to Condition 1 : Absolute relative error


Root is: 2.199918
Root is: 0.800061

Function graph
Error graph of r

Error graph of s
2 x^4 – 7.4*x^3 + 20.44*x^2 - 24.184*x + 9.6448
r=2
s = -2

Output :
2.2000

0.8000

Stop due to Condition 1 : Absolute relative error


Root is: 2.2000 + 0.8000i

Root is: 2.2000 - 0.8000i

Function Graph
Error in r

Error in s
Bisection:
1. x – cos(x)
Output:
Stop due to Condition 1 : Absolute relative error
0.7391

Function graph

Error graph
2. exp(-x)-x
Output:
Stop due to Condition 1 : Absolute relative error
0.5671

Function Graph

Error graph
False-Position:
1. x – cos(x)
Output:
Exact value found
0.7391

Function graph

Error Graph
2. exp(-x)-x
Output:
Stop due to Condition 1 : Absolute relative error
0.5671

Function graph

Error Graph
Fixed Point:
1. x – cos(x)
Output:
Stop due to Condition 1 : Absolute relative error
0.7391

Function graph

Error graph
2. exp(-x)-x
Output:
Stop due to Condition 1 : Absolute relative error
0.5671

Function Graph

Error Graph
Newton Raphson:
1. x – cos(x)
Output:
Stop due to Condition 1 : Absolute relative error
0.7391

Function Graph

Error Graph
2. exp(-x)-x
Output:
Stop due to Condition 1 : Absolute relative error
0.5671

Function graph

Error graph
Secant:
1. x – cos(x)
Output:
Stop due to Condition 1 : Absolute relative error
0.7391

Function graph

Error graph
2. exp(-x)-x
Output:
Stop due to Condition 1 : Absolute relative error
0.5671

Function graph

Error graph

You might also like