Professional Documents
Culture Documents
Problem 1.1. Use Fixed Point Iteration method with the starting value x0 = 4 to compute
three approximations for the root of the following quadratic equation:
x2 2x 3 = 0
g(x) = 2 x 1
a) Start with x0 = 1.5.
b) Start with x0 = 2.5.
x2 1
has a unique fixed point in [1, 1].
3
Problem 1.4. Show that function g(x) = 2x has a unique fixed point in [0, 1].
Problem 1.5. Show that function g(x) = cos x has a unique fixed point in [0, 1].
Problem 1.6. Use Bisection method to find a root within an accuracy of 102 in [0, 1] for
the following nonlinear equation:
3x + sin x ex = 0
Problem 1.7. Use Bisection method to find a zero within an accuracy of 102 in [0, 1] for
the following nonlinear equation:
x3 7x2 + 14x = 6
Problem 1.8. Use Method of False Position to find a root within an accuracy of 102 in
[0, 1] for the following nonlinear equation:
3x + sin x ex = 0
1
Problem 1.9. Use Newton-Raphson Method to find a root within an accuracy of 103 in
[0, 1] for the following nonlinear equation:
3x + sin x ex = 0
Problem 1.10. Use the Newton-Raphson method to find a zero within an accuracy of 102
in [1, 4] for the following nonlinear equation:
x3 2x2 = 5
Problem 1.11. Find the value of 1 +
method.
Problem 1.12. Find the value of
2
2.1
3
9 within an accuracy of 103 by any numerical method.
Problem 2.4. Using Gaussian Elimination solve the following system of equations:
2x1 + 4x2 6x3 = 4
x1 + 3x2 + 2x3 = 5
x1 + 5x2 + 3x3 = 10
with partial pivoting.
Problem 2.5. Using Gaussian Elimination solve the following system of equations:
3x1 + x2 + 6x3 = 17
x1 + 3x3 = 5
5x1 + 2x2 x3 = 1
with partial pivoting.
Problem 2.6. Using Gaussian Elimination solve the following system of equations:
2x2 + x4 = 0
2x1 + 2x2 + 3x3 + 2x4 = 2
4x1 3x2 + x4 = 7
6x1 + x2 6x3 x4 = 6
a) With trivial pivoting
b) With partial pivoting
Problem 2.9. Use LU Decomposition with partial pivoting to solve the following system
of equations:
x1 + 2x2 + 6x3 = 9
4x1 + 8x2 x3 = 11
2x1 + 3x2 + 5x3 = 6
Problem 2.10. Use LU factorization with partial pivoting for A and solve the linear system
Ax = b, where
1
2 1
3
2 , b = 1
A = 0 1
2 1
0
3
Problem 2.11. Use LU factorization with partial pivoting for A and solve the linear system
Ax = b, where
0 5 6
1
A = 1 2 3 , b = 0
0 8 9
0
2.2
Iterative Methods
x2 + 4y 2 4 = 0
Use the Newtons method with the starting value (x0 , y0 ) = (2.00, 0.25) and compute the
first approximation (x1 , y1 ).
Problem 4.1. Find the Taylor polynomial of degree N = 3 for f (x) = sin x expanded
about a = 0.
Problem 4.2. Find the Taylor polynomial for f (x) = x3 21x2 + 17 expanded about a = 1.
Problem 4.3. Find the Taylor polynomial of degree N = 5 for f (x) = ln (1 + x) expanded
about a = 0 and find the upper bound for the error when you approximate ln (1.2).
Problem 4.4. Determine the degree of Taylor polynomial PN (x) for f (x) = cos x expanded
6
.
about a = 4 that should be used to approximate cos ( 7
30 ) so that the error is less that 10
Problem 4.5. Determine the degree of Taylor polynomial PN (x) for f (x) = cos x expanded
6
about a = that should be used to approximate cos ( 33
.
32 ) so that the error is less that 10
Problem 4.6. Determine the degree of Taylor polynomial PN (x) for f (x) = ex expanded
about a = 0 that should be used to approximate e0.1 so that the error is less that 106 .
Problem 4.7. Let P8 (x) be the Taylor polynomial of degree N = 8 for function f (x) = ex
expanded about a = 0. Establish the error bounds for the approximation ex P8 (x) if
a) x [1, 1]
b) x [0.5, 0.5]
Problem 4.8. Find the Taylor polynomial of degree N = 3 for f (x) = sin (x) expanded
about a = 0. What is the maximum possible error when the approximation sin (x) P3 (x)
is used for x [0.3, 0.3]? Use this approximation to find sin (120 ).
Problem 4.9. Consider the graph of function f (x) = sin x over interval [0, 2 ].
a) Use two points (0, 0) and ( 2 , 1) to construct a Lagrange linear interpolation polynomial
P1 (x). Use this polynomial to approximate sin ( 2
9 ) and find the upper bound for the error
in this approximation.
Problem 4.10. Consider the graph of function f (x) = sin x over interval [0, 2 ]. Use three
Problem 4.11. Let f (x) = x3 4x. Construct the divided-difference table based on the
nodes x0 = 1, x1 = 2, x2 = 3, x3 = 4, x4 = 5, x5 = 6 and find the Newton polynomial
P5 (x).
Problem 4.12. Construct Newton polynomial of degree four, P4 (x) for the data given in
the following table:
xx
f (xk )
4
2.00000
5
2.23607
6
2.44949
7
2.64575
8
2.82843
1
2
0
1
1
2
2
7
3
10
Find the polynomial P4 (x) interpolating all five points. What is the relative error at x = 0.5?
Problem 4.14. In this problem choose the best interpolating method so that it
allows you to add a new data without too many unnecessary calculations all over
again.
a) Construct the interpolating polynomial of degree two, P2 (x) for the unequally spaced
points given in the following table:
x
f (x)
0
6
0.1
5.8
0.2
5.6
b) Then add f (0.3) = 4.9 to the table and construct the interpolating polynomial of degree
three, P3 (x) and calculate P3 (0.15).
c) Now, we have 4 data points, what is the maximum error at x = 0.15 if we used the
interpolating polynomial of degree two, P2 (x)?
Problem 4.15. For a function f , the Newton forward divided-difference table is given by
xk
x0 = 0
x1 = 0.4
x2 = 0.7
f [xk ]
f [x0 ] = A
f [x1 ] = B
f [x2 ] = 6
f [xk1 , xk ]
f [x0 , x1 ] = C
f [x1 , x2 ] = 10
f [xk2 , xk1 , xk ]
f [x0 , x1 , x2 ] =
50
7
Problem 4.16. Let P3 (x) be the interpolating polynomial for the data (0, 0), (1, A), (2, 4),
5
and (4, 2). Find A if the coefficient of x3 in P3 (x) is 12
.