Professional Documents
Culture Documents
f(x).
- A calculus base and one of the most popular root solving methods
Algorithm
1. Assume (x)
2. Evaluate f(x)
3. Evaluate f’(x)
4. Δx= f(x)/f’(x)
5. Xnew= (x – Δx)
6. Repeat the process until the value of X is equal to the real roots.
I X f(x) f’(x) Δx
1 2 -1 10 -0.1
is known that the root lies on (a,b), then it is reasonable that we can
(a,f(a))and (b,f(b)).
𝑎 𝑓(𝑏)− 𝑏 𝑓(𝑎)
C= 𝑓(𝑏)− 𝑓(𝑎)
i a b c f(c)
1 1 2 1.263157895 -1.60227438
F(x) is (+); x = b
F(x) is (-); x = a
I a b X f(x)
This Delta X are the increments that will be used starting from 1, 0.1,
0.01, 0.001 ( add zeros) until the real roots will be obtained.
1 1 2 -1 3 16 -
2 1 3 16 4 31 +
1
0.1
0.01
0.001
0.0001
0.00001
0.000001
0.0000001
0.00000001
0.000000001
0.0000000001