Professional Documents
Culture Documents
(2 x )3 + (2 x )5
+
3!
5!
8 x 3 32 x 5
= 2x
+
+
6
120
= 2 x 1.3333 x 3 + 0.26667 x 5 +
Hence, the coefficient of the x 5 term is 0.26667.
2. Given f (3) = 6 , f (3) = 8 , f (3) = 11 , and all other higher order derivatives of f (x )
are zero at x = 3 , and assuming the function and all its derivatives exist and are
continuous between x = 3 and x = 7 , the value of f (7) is
(A) 38.000
(B) 79.500
(C) 126.00
(D) 331.50
Solution
The correct answer is (C).
The Taylor series is given by
f ( x + h ) = f ( x ) + f ( x )h +
x = 3, h = 7 3 = 4
f ( x ) 2 f ( x ) 3
h +
h +
2!
3!
f (3) 2 f (3) 3
4 +
4 +
2!
3!
f (3) 2 f (3) 3
f (7 ) = f (3) + f (3)4 +
4 +
4 +
2!
3!
Since all the derivatives higher than second are zero,
f (3) 2
f (7 ) = f (3) + f (3)4 +
4
2!
11
= 6 + 8 4 + 42
2!
= 126
f (3 + 4 ) = f (3) + f (3)4 +
dy
= y 3 + 2 , y (0) = 3 the value of y(0.2) from a
dx
)
y (0 ) = 3(3) (3 + 2 )
2
= 783
y(0.2) = 3 + 29 0.2 + 783 0.02
= 24.46
4. The series
( 1)n
n =0
(A)
(B)
(C)
(D)
cos(x )
cos(2 x )
sin(x )
sin(2 x )
x 2n n
4 is a Maclaurin series for the following function
( 2n )!
Solution
The correct answer is (B).
x 2n
cos( x ) = ( 1)
(2n )!
n =0
n
2n
(
2x)
cos(2 x ) = ( 1)
(2n )!
n =0
= ( 1)
n =0
= ( 1)
n =0
2 2n x 2n
(2n )!
4 n x 2n
(2n )!
t
e dt is called the error function. It is used in the field of
2
probability and cannot be calculated exactly. However, one can expand the integrand as
a Taylor polynomial and conduct integration. The approximate value of erf (2.0) using
the first three terms of the Taylor series around t = 0 is
(A) -0.75225
(B) 0.99532
(C) 1.5330
(D) 2.8586
Solution
The correct answer is (A).
The first three terms of the Taylor series for f (t ) =
f (t ) =
f (0) =
e t
e 0
f (t ) =
f (0 ) =
=0
f (t ) =
f (0 ) =
e t ( 2t )
2
e t ( 2(0 ))
2
e t ( 2t )( 2t ) +
2
e t ( 2)
2
e 0 ( 2 )
2
e t around t = 0 are
+ 0(h)
4 h2
2!
4 h2
=
2!
2
2 2
=
Hence
x
2
2 2
erf ( x ) =
t dt
0
x
2
2 t3
t
=
3 0
2
2 x3
x
=
erf (2) =
(2)
= 0.75225
2 23
3
x n +1
Rn ( x ) =
f (n +1) (c ), n 0, 0 c x
(n + 1)!
the order of the Maclaurin polynomial at least required to get an absolute true error of at
most 10 6 in the calculation of sin(0.1) is (do not use the exact value of sin(0.1) or
cos(0.1) to find the answer, but the knowledge that |sin( x )| 1 and | cos( x ) | 1 ).
(A) 3
(B) 5
(C) 7
(D) 9
Solution
The correct answer is (B).
x n +1
Rn ( x ) =
f (n +1) (c ) , n 0 , 0 c x
(n + 1)!
n +1
(
0.1)
Rn (0.1) =
f (n +1) (c ), n 0, 0 c 0.1
(n + 1)!
Since derivatives of f ( x ) are simply sin( x ) and cos( x ) , and
(c ) 1
(0.1)n+1 (1)
Rn (0.1)
f
( n +1)
(n + 1)!
(0.1)n+1
(n + 1)!
So when is
Rn (0.1) < 10 6
(0.1)n+1
< 10 6
(n + 1)!
n4
But since the Maclaurin series for sin( x ) only includes odd terms, n 5 .