NUMERICAL METHODS HOMEWORK #1
Directions:
Use the radian mode on your calculator when using the trigonometry buttons.
Use five-digit rounding arithmetic in your calculations.
1. a. Find the third Taylor polynomial P3 ( x) for the function f ( x) xe cos x about x0 0.
2x
Use P3 (0.2) to approximate f (0.2) .
b. Find an upper bound for error f (0.2) P3 (0.2) using the error formula.
Consider the following table.
x
2.a) Show that g ( x ) 0.5sin has a unique fixed point in 0, 2 .
2
b. SUse fixed-point iteration method to approximate the such fixed point starting with p0 0
that is accurate to within 10 2 .
3. a. Show that the function f ( x ) x 3 e x has a root in the interval 0.5,3 .
b. Use Newton method to find the root accurate to within 10 3 for the function above. Use
p0 2.
4. a. For the function f ( x) (3x 2)2 , let x0 1, x1 0, x2 1 . Construct interpolating
polynomial to approximate f (0.5) .
b. Find an error bound for this approximation.
5. Find an approximation of f(0.1) and x where f(x)=0 by considering the following table
x | 0.0 0.3 0.4 0.7 0.8
----------------------------------------------------------
f(x) | -5 -3.75 -3.15 0.5 1.25
6. Neville’s method is used to approximate f ( x ) in the following table. So, find x, a,b,c,d
and e.
xi Qi ,0 Qi ,1 Qi ,2 Qi ,3
1 a
3 1.73 c
4 2 1.865 1.8729
6 b 1.8875 d e