Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Input interpretation
Input interpretation:
Result:
x 1.365230013414097
(using starting points of a0 1. and b0 2.)
Steps: More
Convergence diagram:
30
20
b0
10
b1
45
40
35
30
step
25
20
15
10
5
0
2
0
1.0 1.2 1.4 1.6 1.8 2.0
x
Convergence rates:
1
10-20
machine precision
residual
10-40
10-60 precision 50
10-80
10-100 precision 100
1 34 67 100133166199232265298331
step
(using starting points of a0 1. and b0 2.)
precision steps
machine precision 49
50 digits 164
Solve[-10 + 4 * x ^ 2 + x ^ 3 == 0, {x}]
1 3 3
x -4 + 71 - 3 105 + 71 + 3 105
3
1.365230013414096845760806828981666078331
30
20
b0
Out[3]=
10
b1
Input interpretation:
Result:
x 0.6823278038280193
(using starting point of x0 -2.4)
x3n +xn -1
xn+1 xn - 3 x2n +1
f (xn )
xn+1 xn - f (x )
n
where f (x) x3 + x - 1
f (x) 3 x2 + 1
Less
x0 -2.4
x30 +x0 -1
x1 x 0 - 3 x20 +1
x1 -2.4 - (-0.942232)
x1 -1.45777
x31 +x1 -1
x2 x 1 - 3 x21 +1
x2 -1.45777 - (-0.753282)
x2 -0.704486
x32 +x2 -1
x3 x 2 - 3 x22 +1
x3 -0.704486 - (-0.825313)
x3 0.120827
x33 +x3 -1
x4 x 3 - 3 x23 +1
x4 0.120827 - (-0.840593)
x4 0.96142
x34 +x4 -1
x5 x 4 - 3 x24 +1
x5 0.96142 - (0.225309)
x5 0.736111
x35 +x5 -1
x6 x 5 - 3 x25 +1
x6 0.736111 - (0.0514095)
x6 0.684701
x36 +x6 -1
x7 x 6 - 3 x26 +1
x7 0.684701 - (0.00236889)
x7 0.682333
x37 +x7 -1
x8 x 7 - 3 x27 +1
x 0.682333 (4.8038710-6 )
4
x8 0.682333 - (4.8038710 6 )
x8 0.682328
x38 +x8 -1
x9 x 8 - 3 x28 +1
x9 0.682328 - (1.9709910-11 )
x9 0.682328
Iteration diagram:
20
-4 -3 -2 -1 1 2
-20
-40
-60
12
10
steps
8
6
x
x0
-10 -5 0 5 10
starting point
(color indicates final value, x , converged to)
Convergence rates:
1
10-20
machine precision
residual
10-40
10-60 precision 50
10-80
10-100 precision 100
1 2 3 4 5 6 7 8 9 10 11 12 13
step
(using starting point of x0 -2.4)
precision steps
machine precision 9
50 digits 11
5
100 digits 12
Solve[-1 + x + x ^ 3 == 0, {x}]
1
3
2
9 + 93
2
x- +
3
3 9 + 93 32/3
0.6823278038280193273694837397110482568912
where f (x) x3 + x - 1
f (x) 3 x2 + 1
f (x) 6 x
step x
0 -2.400000000000000
1 -1.10809
2 0.0218168
3 0.936238
4 0.694057
5 0.682329
6 0.682328
7 0.682328
f (xn )2 f (xn )
xn+1 - ff(x(xn )) - 2 f (xn )3
- 6 f (x
+ xn
n n)
where f (x) + x - 1 x3
f (x) 3 x2 + 1
f (x) 6 x
f (3) (x) 6
step x
6
0 -2.400000000000000
1 -0.894301
2 0.768988
3 0.682393
4 0.682328
5 0.682328
Mathematica input:
Out[5]=
x 0.6823278038280193
(using starting point of x0 -2.4)