1-Bisection Method: Equation Number One (3 X+sin (X) - Exp (X) )
1-Bisection Method: Equation Number One (3 X+sin (X) - Exp (X) )
1-Bisection Method: Equation Number One (3 X+sin (X) - Exp (X) )
1- Bisection Method
Enter the Equation : 3*x+sin(x)-exp(x)
Enter First approximate Number x0 : 0
Enter Second approximate Number x1 : 1
4- Newton Method
Enter the Equation : 3*x+sin(x)-exp(x)
2- Secant Method
Enter First approximate Number x0 : 1
Enter Second approximate Number x1 : 2
The Equation is >> 2*x^3+x^2-3*x-3 <<
Actual Root is 1.378161
Iteration x0 x1 x2 f(x2) Absolute Error Maximum Error
1 2.000000 1.000000 1.785714 6.220117 0.407554 0.500000
2 1.785714 1.000000 1.530062 1.914930 0.151901 0.250000
3 1.000000 1.530062 1.323542 -0.581798 0.054619 0.125000
4 1.530062 1.323542 1.371666 -0.072038 0.006495 0.062500
5 1.323542 1.371666 1.378467 0.003417 0.000306 0.031250
6 1.371666 1.378467 1.378159 -0.000019 0.000002 0.015625
7 1.378467 1.378159 1.378161 -0.000000 0.000000 0.007813
3- False Method
Enter the Equation : 2*x^3+x^2-3*x-3
Enter First approximate Number x0 : 1
Enter Second approximate Number x1 : 2
The Equation is >> 2*x^3+x^2-3*x-3 <<
Actual Root is 1.378161
Iteration x0 x1 x2 f(x2) Absolute Error Maximum Error
1 1.000000 2.000000 1.214286 -1.587464 0.163875 0.500000
2 1.214286 2.000000 1.382653 0.050288 0.004492 0.250000
3 1.214286 1.382653 1.250364 -1.278015 0.127796 0.125000
4 1.250364 1.382653 1.278712 -1.019376 0.099449 0.062500
5 1.278712 1.382653 1.300985 -0.806397 0.077176 0.031250
6 1.300985 1.382653 1.318485 -0.632933 0.059675 0.015625
7 1.318485 1.382653 1.332236 -0.492814 0.045925 0.007813
8 1.332236 1.382653 1.343039 -0.380337 0.035121 0.003906
9 1.343039 1.382653 1.351528 -0.290479 0.026633 0.001953
10 1.351528 1.382653 1.358198 -0.218955 0.019963 0.000977
11 1.358198 1.382653 1.363438 -0.162188 0.014723 0.000488
12 1.363438 1.382653 1.367556 -0.117231 0.010605 0.000244
13 1.367556 1.382653 1.370791 -0.081689 0.007370 0.000122
14 1.370791 1.382653 1.373333 -0.053627 0.004828 0.000061
15 1.373333 1.382653 1.375330 -0.031495 0.002831 0.000031
16 1.375330 1.382653 1.376899 -0.014054 0.001262 0.000015
17 1.376899 1.382653 1.378132 -0.000318 0.000029 0.000008
18 1.378132 1.382653 1.379101 0.010494 0.000940 0.000004
19 1.378132 1.379101 1.378340 0.001997 0.000179 0.000002
20 1.378132 1.378340 1.378177 0.000178 0.000016 0.000001
21 1.378132 1.378177 1.378142 -0.000212 0.000019 0.000000
22 1.378142 1.378177 1.378149 -0.000129 0.000012 0.000000
23 1.378149 1.378177 1.378155 -0.000063 0.000006 0.000000
24 1.378155 1.378177 1.378160 -0.000011 0.000001 0.000000
25 1.378160 1.378177 1.378163 0.000029 0.000003 0.000000
26 1.378160 1.378163 1.378160 -0.000003 0.000000 0.000000
4- Newton Method
Enter the Equation : 2*x^3+x^2-3*x-3
Enter First approximate Number x0 : 1
The Equation is >> 2*x^3+x^2-3*x-3 <<
Actual Root is 1.378161
Iteration x0 x1 f(x1) Absolute Error
1 1.000000 1.600000 2.952000 0.221839
2 1.600000 1.410283 0.367865 0.032122
3 1.410283 1.378986 0.009207 0.000825
4 1.378986 1.378161 0.000006 0.000001