Answers:
0 -3
0-(-3)
------ = 3
1 - 0
4-3
1 0 ----- = 1
5-(-3) 2-1
------ = 4 1-1
2 - 0 ----- = 0
5-3 3-2
2 5 ----- = 1
12-(-3) 3-1
------- = 5
3 - 0
3 12
The Newton form is
-3 + 3*(x-0) + 1*(x-0)*(x-1) + 0*(x-0)*(x-1)*(x-2).
+--------+
| /20 |
+--------+
2 3 4 35 5 63 6 231 7 429 8
x - 1/2 x + 3/8 x - 5/16 x + --- x - --- x + ---- x - ---- x
128 256 1024 2048
6435 9 10
+ ----- x + O(x )
32768
Use this Maclaurin expansion to construct a Padé approximation
for x/sqrt(x+1) as a quotient of two quadrics.
Answer:
2 2
a0 + a1 x + a2 x x + 1/2 x
R(x) = ------------------- = ----------------
2 2
1 + b1 x + b2 x 1 + x + 1/8 x
where the coefficients are computed as follows:
( 3 4 ) ( 2 )
( x - 1/2 x + 3/8 x - 5/16 x )*( 1 + b1 x + b2 x )
( ) ( )
2
- a0 - a1 x - a2 x = 0
Elaborating the product gives:
2 3
x + b1 x + b2 x
2 3 4
- 1/2 x - b1/2 x - b2/2 x
3 4
+ 3/8 x + 3 b1/8 x + ...
4
- 5/16 x + ...
2
- a0 - a1 x - a2 x = 0
which gives rise to the system
0 - a0 = 0 1 - a1 = 0 b1 - 1/2 - a2 = 0 b2 - b1/2 + 3/8 = 0 -b2/2 + 3/8 b1 - 5/16 = 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
2 x - 5 = 2 x x - 5
x 1 1
---------- = ------------ = -----------
2 2 5
2 x - 5 2 x - 5 2 x - ---
---------- x
x
+--------+
| /10 |
+--------+
Answers:
arctan(0.5) - arctan(0.3)
--------------------------- = 8.609 540 726 E-1
0.2 \
(a)
arctan(0.45) - arctan(0.35) /
----------------------------- = 8.617 910 675 E-1
0.1 \
(b)
arctan(0.425) - arctan(0.375) /
------------------------------- = 8.619 995 434 E-1
0.05
8.617 910 675 E-1 * 4 - 8.609 540 726 E-1
(a) : ------------------------------------------- = 8.620 700 658 E-1
4 - 1
8.619 995 434 E-1 * 4 - 8.617 910 675 E-1
(b) : ------------------------------------------- = 8.620 690 354 E-1
4 - 1
8.620 690 354 E-1 * 16 - 8.620 700 658 E-1
-------------------------------------------- = 8.620 689 667 E-1
16 - 1
+--------+
| /25 |
+--------+
a
/ ( -a ) ( a )
| f(x) dx = w f(----) + w f(---) for a > 0.
/ 1 ( 2 ) 2 ( 2 )
-a
Determine the weights w_1 and w_2 so that the
rule has the highest possible algebraic degree of precision.
Answer:
a
/
| 1 dx = 2 a = w + w
/ 1 2
-a
a
/ ( -a ) ( a )
| x dx = 0 = w (----) + w (---)
/ 1 ( 2 ) 2 ( 2 )
-a
The solution is
w = a w = a
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 |
+--------+