Answers:
0 1
1-1
----- = 0
1-0
1-0
1 1 ----- = 1
3-1 2-1
----- = 1 1-1
2-0 ----- = 0
2-0 3-2
2 3 ----- = 1
7-3 3-1
----- = 2
3-0
3 7
The Newton form is
1 + 0*(x-0) + 1*(x-0)*(x-1) + 0*(x-0)*(x-1)*(x-2).
+--------+
| /20 |
+--------+
2 3 4 5 21 6 33 7
1 + 1/2 x - 1/8 x + 1/16 x - 5/128 x + 7/256 x - ---- x + ---- x
1024 2048
429 8 715 9 10
- ----- x + ----- x + O(x )
32768 65536
Use this Maclaurin expansion to construct a Padé approximation
for sqrt(x+1) as a quotient of two quadrics.
Answer:
2 2
a0 + a1 x + a2 x 1 + 5/4 x + 5/16 x
R(x) = ------------------- = ---------------------
2 2
1 + b1 x + b2 x 1 + 3/4 x + 1/16 x
where the coefficients are computed as follows:
( 2 3 4 ) ( 2 )
( 1 + 1/2 x - 1/8 x + 1/16 x - 5/128 x )*( 1 + b1 x + b2 x )
( ) ( )
2
- a0 - a1 x - a2 x = 0
Elaborating the product gives:
2
1 + b1 x + b2 x
2 3
+ 1/2 x + b1/2 x + b2/2 x
2 3 4
- 1/8 x - b1/8 x - b2/8 x
3 4
1/16 x + b1/16 x + ...
4
- 5/128 x + ...
2
- a0 - a1 x - a2 x = 0
which gives rise to the system
1 - a0 = 0 b1 + 1/2 - a1 = 0 b2 + b1/2 - 1/8 - a2 = 0 b2/2 - b1/8 + 1/16 = 0 -b2/8 + b1/16 - 5/128 = 0Solving the system first for b1 and b2, and then for a0,a1, and a2, gives the coefficients of the Padé approximation.
+--------+
| /20 |
+--------+
Answer:
2
x - 7 = x x - 7
x 1 1
-------- = ---------- = ---------
2 2 7
x - 7 x - 7 x - ---
-------- x
x
+--------+
| /10 |
+--------+
Answers:
arccos(0.8) - arccos(0.6)
--------------------------- = -1.418 970 546
0.2 \
(a)
arccos(0.75) - arccos(0.65) /
----------------------------- = -1.404 776 423
0.1 \
(b)
arccos(0.725) - arccos(0.675) /
------------------------------- = -1.401 393 842
0.05
-1.404 776 423 * 4 - (-1.418 970 546)
(a) : ----------------------------------------- = -1.400 045 049
4 - 1
-1.401 393 842 * 4 - (-1.404 776 423)
(b) : ----------------------------------------- = -1.400 266 315
4 - 1
-1.400 266 315 * 16 - (-1.400 045 049)
------------------------------------------ = -1.400 281 066
16 - 1
+--------+
| /25 |
+--------+
2a
/
| f(x) dx = w f(-a) + w f(a) for a > 0.
/ 1 2
-2a
Determine the weights w_1 and w_2 so that the
rule has the highest possible algebraic degree of precision.
Answer:
2a
/
| 1 dx = 4 a = w + w
/ 1 2
-2a
2a
/
| x dx = 0 = w (-a) + w a
/ 1 2
-2a
The solution is
w = 2a w = 2a
1 2
+--------+
| /15 |
+--------+
Answer:
We must solve
[ y_1 ] [ T_0(x_1) T_1(x_1) T_2(x_1) ]
[ y_2 ] [ T_0(x_2) T_1(x_2) T_2(x_2) ] [ a_0 ]
[ y_3 ] = [ T_0(x_3) T_1(x_3) T_2(x_3) ] [ a_1 ]
[ y_4 ] [ T_0(x_4) T_1(x_4) T_2(x_4) ] [ a_2 ]
[ y_5 ] [ T_0(x_5) T_1(x_5) T_2(x_5) ]
or in matrix notation: Y = X a. To obtain a square system
we multiply with the transpose of X and solve the normal
equations:
T T
X X a = X Y
+--------+
| /10 |
+--------+