Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

UNIVERSIDAD DEL VALLE SEDE TULUÁ

FACULTAD DE INGENIERÍA
PROGRAMA: INGENIERÍA DE SISTEMAS
ASIGNATURA: SIMULACIÓN Y COMPUTACIÓN NUMÉRICA 750016C Sem 2024
01
TALLER No 1: Introducción, Polinomios de Taylor

Profesor: Efraín Vásquez Millán

1. Find the Taylor polinomial of degree n = 4 for each function expanded about given value x0

a. f (x) = x, x0 = 1 c. f (x) = cos x, x0 = 0
5 2
b. f (x) = x + 4x + 3x + 1, x0 = 0

2. What is the third term in the Taylor’s expansion of x2 + x − 2 about the point 3.
3. Determine the first four nonzero terms in the series expansion about zero for

a. f (x) = sin(x) + cos(x) and find an approxi- c. Compare the accuracy of these approxima-
mate value for f (0· 001) tions to those obtained from tables or via a
b. g(x) = (sin x)(cos x) and find an approximate calculator.
value for g(0· 0006)

4. a. Find the second Taylor polynomial P2 (x) for the function ex cos x about x0 = 0.
b. Use P2 (0· 5) to approximate f (0· 5). Find an upper bound for error |f (0· 5) − P2 (0· 5)| using the
error formula, and compare it to the actual error.
¯ ¯
c. Find a bound for the error ¯f (x) − P2 (x)¯ in using P2 (x) to approximate f (x) on the interval [0, 1].
R1 R1
d. Aproximate f (x)dx using P2 (x)dx.
0 0
R1 ¯ ¯
e. Find an upper bound for the error in (d) using ¯R2 (x)¯dx, and and compare the bound to the
0
actual error.
5. a. Find the third Taylor polynomial P3 (x) for the function f (x) = (x − 1) ln x about x0 = 1.
¯ ¯
b. Use P3 (0· 5) to approximate f (0· 5). Find an upper bound for error ¯f (0· 5) − P3 (0· 5)¯ using the
error formula, and compare it to the actual error.
¯ ¯
c. Find a bound for the error ¯f (x) − P3 (x)¯ in using P3 (x) to approximate f (x) on the interval
[0· 5, 1· 5].
1R· 5 1R· 5
d. Approximate f (x)dx using P3 (x)dx.
0· 5 0· 5
1R· 5 ¯ ¯
e. Find an upper bound for the error in (d) using ¯R3 (x)¯dx, and and compare the bound to the
0· 5
actual error.
f. Approximate f 0 (0· 8) using P30 (0· 8) and find the error.
6. What is the least number of terms required to compute π as 3· 14 (rounded) using the series

4 4 4 4
π =4− + − + − ···
3 5 7 9

1
7. Find the fourth Taylor polynomial¯ P4 (x) for the¯ function f (x) = x cos x about x0 = 0. Aproximate
f ( π6 ) and find an upper bound for ¯f (x) − P4 (x)¯.
π
8. Use a Taylor polynomial about 4, to approximate cos 42◦ to an accuracy of 10−6 .

9. Use a Taylor polynomial about e to approximate ln 3, to an accuracy of 10−4 .

10. Find Taylor polynomial for the function f (x) = cosh x aboutc = 0.

11. How many terms are required in the serie



X 1
n!
n=0

to compute e to an accuracy of 10−21 .

12. Derive the Taylor series with remainder term for ln(1 + x) about 1. Derive an inequality that gives the
number of terms that must be to yield ln 4 with error less than 2−m .

You might also like