+.10000E-8 = 10^(-9)
42.873 = +.42873E+2
0.079872 = +.79872E-1 = +.00079872E+2 (denormalize)
+.42873E+2
+.00079872E+2
---------------
+.42952872E+2 = +.42953E+2 = 42.953
+--------+
| /20 |
+--------+
The line through (x(k),f(x(k))) and (x(k+1),f(x(k+1))) has equation
f(x(k+1)) - f(x(k))
y - f(x+1) = --------------------- ( x - x(k+1) ).
x(k+1) - x(k)
To obtain x(k+2) we solve for y = 0:
x(k+1) - x(k)
x - x(k+1) = --------------------- ( 0 - f(x(k+1) ).
f(x(k+1)) - f(x(k))
Setting x = x(k+2) we obtain
x(k+1) - x(k)
x(k+2) = x(k+1) - --------------------- f(x(k+1)).
f(x(k+1)) - f(x(k))
For an illustration of the method, see the solution handout.
+--------+
| /15 |
+--------+
click here to see the plot
See the solution handout for the answer.
+--------+
| /15 |
+--------+
click here to see the graph
See the solution handout for the answer.
+-------+------------+------------+------------+------------+ | step | x1 | x2 | f(x1) | f(x2) | +-------+------------+------------+------------+------------+ | 0 | 3.820E-1 | 6.180E-1 | -2.851E-1 | -1.671E-1 | | 1 | 2.361E-1 | 3.820E-1 | -3.023E-1 | -2.851E-1 | | 2 | 1.459E-1 | 2.361E-1 | -2.917E-1 | -3.023E-1 | +-------+------------+------------+------------+------------+
+--------+
| /20 |
+--------+
[ 9.229E-02 -1.324E+00 1.976E+00 ]
A = [ -6.501E-01 1.201E+00 -3.308E-01 ].
[ 2.245E+00 -1.265E+00 -1.277E+00 ]
[ 2.245E+00 -1.265E+00 -1.277E+00 ] 3
A ----> [ -6.501E-01 1.201E+00 -3.308E-01 ] 2
[ 9.229E-02 -1.324E+00 1.976E+00 ] 1
-.6501 [ ]
R2 := R2 - ------ R1 [ 2.245E+00 -1.265E+00 -1.277E+00 ] 3
2.245 [ ]
---------------------> [ -2.896E-01 8.347E-01 -7.006E-01 ] 2
0.09229 [ ]
R3 := R3 - ------- R1 [ 4.111E-02 -1.272E+00 2.028E+00 ] 1
2.245 [ ]
[ 2.245E+00 -1.265E+00 -1.277E+00 ] 3
---------------------> [ 4.111E-02 -1.272E+00 2.028E+00 ] 1
[ -2.896E-01 8.347E-01 -7.006E-01 ] 2
.8347 [ ]
R3 := R3 - ------ R2 [ 2.245E+00 -1.265E+00 -1.277E+00 ] 3
-1.272 [ ]
---------------------> [ 4.111E-02 -1.272E+00 2.028E+00 ] 1
[ ]
[ -2.896E-01 -6.562E-01 6.302E-01 ] 2
[ ]
[ 0 0 1 ] [ 1 0 0 ]
P = [ 1 0 0 ] L = [ 4.111E-02 1 0 ]
[ 0 1 0 ] [ -2.896E-01 -6.562E-01 1 ]
[ 2.245E+00 -1.265E+00 -1.277E+00 ]
U = [ 0 -1.272E+00 2.028E+00 ]
[ 0 0 6.302E-01 ]
det(A) = det(P*L*U)
= det(P)*det(L)*det(U)
= (+1)*(+1)*(2.245E+00)*(-1.272E+00)*(6.302E-01)
= -1.800E+00
+--------+
| /30 |
+--------+