Docsity

Homework 1 Questions - Numerical Analysis | MATH 375, Assignments of Mathematical Methods for Numerical Analysis and Optimization

Toggle sidebar
bg1
Millersville University
Department of Mathematics
MATH 375, Homework 1
September 12, 2006
The completed assignment is due at class time on 09/19/2006. Each problem or part of a problem
is worth ten points. You may use your textbook, computer programs, and notes. You may not
work with another person or group of persons. The work you submit must be your individual effort.
1. Consider the function
f(x) = √x+ 1.
(a) Find the fourth Taylor polynomial P4(x) approximation for f(x) about x0= 3.
(b) Approximate √4.3 using P4(x).
(c) Find the absolute error and relative error of the approximation to √4.3.
2. Consider the function
f(x) = sinh x.
(a) Find the nth Taylor polynomial approximation Pn(x) to f(x) about x0= 0.
(b) Find the smallest value of nnecessary for Pn(x) to approximate f(x) with an absolute
error of no more than 10−6on the interval [−1,1].
3. Consider the polynomial
p(x) = 3.12x3
−2.11x2+ 4.01x+ 10.33.
(a) Evaluate the polynomial at x= 1.17 as written using 3-digit chopping arithmetic.
(b) Rewrite the polynomial in nested form and evaluate it at x= 1.17 using 3-digit chopping
arithmetic.
4. Find the base-10 decimal equivalent of the following number in IEEE 754 double precision
format.
0 10000100101 0001001011010000000000000000000000000000000000000000
5. Consider the equation
x+ 3 cos x−ex= 0
for xin the interval [0.5,1.2].
(a) Calculate five iterations of the bisection method to approximate the solution to the
equation.
(b) How many iterations would be necessary to approximate the solution to an accuracy of
10−6?

Partial preview of the text

Download Homework 1 Questions - Numerical Analysis | MATH 375 and more Assignments Mathematical Methods for Numerical Analysis and Optimization in PDF only on Docsity!

Millersville University Department of Mathematics MATH 375, Homework 1 September 12, 2006

The completed assignment is due at class time on 09/19/2006. Each problem or part of a problem is worth ten points. You may use your textbook, computer programs, and notes. You may not work with another person or group of persons. The work you submit must be your individual effort.

  1. Consider the function f (x) =

x + 1.

(a) Find the fourth Taylor polynomial P 4 (x) approximation for f (x) about x 0 = 3. (b) Approximate

4 .3 using P 4 (x). (c) Find the absolute error and relative error of the approximation to

  1. Consider the function f (x) = sinh x.

(a) Find the nth^ Taylor polynomial approximation Pn(x) to f (x) about x 0 = 0. (b) Find the smallest value of n necessary for Pn(x) to approximate f (x) with an absolute error of no more than 10−^6 on the interval [− 1 , 1].

  1. Consider the polynomial

p(x) = 3. 12 x^3 − 2. 11 x^2 + 4. 01 x + 10. 33.

(a) Evaluate the polynomial at x = 1.17 as written using 3-digit chopping arithmetic. (b) Rewrite the polynomial in nested form and evaluate it at x = 1.17 using 3-digit chopping arithmetic.

  1. Find the base-10 decimal equivalent of the following number in IEEE 754 double precision format.

0 10000100101 0001001011010000000000000000000000000000000000000000

  1. Consider the equation x + 3 cos x − ex^ = 0 for x in the interval [0. 5 , 1 .2].

(a) Calculate five iterations of the bisection method to approximate the solution to the equation. (b) How many iterations would be necessary to approximate the solution to an accuracy of 10 −^6?