Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Quiz 1 Solution
Following Bisection method fill up the table in order to solve the equation given
below. Assume Xl = 0.5, and Xu = 1.5
f(x) = 2 − 5e–x
Following Bisection method fill up the table in order to solve the equation given
below. Assume Xl = 1.0 and Xu = 1.7
f(x) = 10e–X − 3
f(x) = X3 + 4X2 + X + 6
Following Newton-Raphson method fill up the table in order to solve the equation
given below. Assume X0 = 0. 75
f ’(x) = 18x2 − 4x + 0. 5
Iteration
Xi f(Xi) f ’(Xi) Xi+1 % Error
Count
Following Secant method fill up the table in order to solve the equation given below.
Assume X0 = -1.25 and X1 = -0.75
Iteration
Xi–1 Xi f(Xi–1) f(Xi) Xi+1 % Error
Count
X Y
-1 2.2
0 10.6
1 17.0
2 22.4
3 25.8
As two points represent the same distance (0 and 3), it is possible to choose any of
them.
X Y b0 = 10. 6
0 10.6 6.4 -0.5 b1 = 6. 4
1 17 5.4 b2 = −0. 5
2 22.4
X Y b0 = 17
1 17 5.4 -1 b1 = 5. 4
2 22.4 3.4 b2 = −1
3 25.8
X Y
-2 3.2
-1 10.6
0 17.0
2 25.4
3 32.8
X Y
b0 = 17
0 17 4.2 1.06667 b1 = 4. 2
2 25.4 7.4 b2 = 1. 0667
3 32.8