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

Tutorial 1

WID3004 Numerical Methods

2021/2022Academic Session

1. Let 𝑓(𝑥) = cos 𝑥

1
a. Find the first Taylor’s polynomial 𝑃* (𝑥) about 𝑥0 = 2
1 1 1
b. Find 𝑃* 3 4 5 and the actual error in using 𝑃* 3 4 5 to approximate 𝑓 34 5
1
c. Find the second Taylor’s polynomial 𝑃A (𝑥) about 𝑥0 =
2
1 1 1
d. Find 𝑃A 3 4 5 and the actual error in using 𝑃A 3 4 5 to approximate 𝑓 3 4 5.
1
2. Use a Taylor polynomial about 2 to approximate cos 42E to an accuracy of 10HI .

3. Let 𝑓(𝑥) = 𝑥 4

a. Find the second taylor polynomial 𝑃A (𝑥) about 𝑥0 = 0.


b. Find 𝑅A (0.5) and the actual error in using 𝑃A (0.5)to approximate 𝑓(0.5).
c. Repeat part a. Using 𝑥0 = 1.
d. Repeat part b. Using the polynomial from part c.

4. Let 𝑓(𝑥) = 25𝑥 4 − 6𝑥 A + 7𝑥 − 88


a. Find 𝑃0 (2) about 𝑥0 = 1.
b. Find 𝑃4 (2) about 𝑥0 = 1.
c. Find the actual errors for a and b.

5. Find the third Taylor Polynomial 𝑃4 (𝑥) for the function 𝑓(𝑥) = √𝑥 + 1 about 𝑥0 = 0.
Hence, or otherwise, approximate 𝑃4 (𝑥) and find the actual errors for the following:

a. 𝑓(𝑥) = √0.5
b. 𝑓(𝑥) = √0.75
c. 𝑓(𝑥) = √1.25
d. 𝑓(𝑥) = √1.5

6. Find the Taylor polynomial 𝑃A (𝑥) for the function 𝑓(𝑥) = 𝑒 T cos 𝑥 about 𝑥0 = 0.
a. Use 𝑃A (𝑥) to approximate 𝑓(0.5) and find the actual error.
1
b. Repeat a. Using 𝑥0 = I .

7. Let 𝑓(𝑥) = sin 𝜋𝑥.


a. Find the Taylor polynomial 𝑃2 (𝑥) for the function about 𝑥0 = 0.5.
1 1
b. Use your answer to find an approximate value to sin 3 + 5.
A *0

8. Let 𝑓(𝑥) = −0.1𝑥 2 − 0.15𝑥 4 − 0.5𝑥 A − 0.25𝑥 + 1.2


a. Find the Taylor polynomial 𝑃V (𝑥) for the function about 𝑥0 = 0 for 𝑛 = 0, 1 and 2.
b. Find the actual error when 𝑃V (𝑥) is used to approximate 𝑓(1) for 𝑛 = 0, 1 and 2.
c. Show that 𝑃2 (1) is exactly the same as 𝑓(1).
SAK/S2/2021/2022

You might also like