Docsity

Homework 1 - Numerical Analysis Computation | COT 4501, Assignments of Computer Science

Toggle sidebar
bg1
Homework 1
Due on Tuesday, January 22
All problems except the last one are from the textbook.
(If you are not able to purchase the textbook from the bookstores by the end of today (Tuesday, January 15), you can have
an one-week extension on this assignment. Send an email to the TA with the subject heading “Homework 1 - Extension”
before this Friday (January 18) indicating that you would like to have the extension.)
Problem 1 Show that the third-order Taylor polynomial for f(x) = (x+1)−1,
about x0= 0, is
p3(x) = 1 −x+x2−x3.
Problem 2 What is the forth-order Taylor polynomial for f(x) = 1/x, about
x0= 1?
Problem 3 What is the Taylor polynomial of order 3 for f(x) = x4+ 1,
using x0= 0?
Problem 4 Given that
R(x) = −|x|4
4!(1 + ξ)
for x∈[−1
2,1
2], where ξis between xand 0, find an upper bound for |R|,
valid for all x∈[−1
2,1
2], that is independent of xand ξ.
Problem 5 Let p(x) be an arbitrary polynomial of degree less than or equal
to n. What is its Taylor polynomial of degree n, about an arbitrary x0?
Problem 6 For each of the following functions construct the third-order
Taylor polynomial approximation, using x0= 0, and then estimate the error
by computing an upper bound on the remainder, over the given interval.
1. f(x) = e−x, x ∈[0,1]
2. f(x) = sin x, x ∈[0, π]
3. f(x) = ln(1 + x), x ∈[−3
4,3
4]
4. f(x) = ln(1 + x), x ∈[−1
2,1
2]
1
pf2

Partial preview of the text

Download Homework 1 - Numerical Analysis Computation | COT 4501 and more Assignments Computer Science in PDF only on Docsity!

Homework 1

Due on Tuesday, January 22 All problems except the last one are from the textbook. (If you are not able to purchase the textbook from the bookstores by the end of today (Tuesday, January 15), you can have an one-week extension on this assignment. Send an email to the TA with the subject heading “Homework 1 - Extension” before this Friday (January 18) indicating that you would like to have the extension.)

Problem 1 Show that the third-order Taylor polynomial for f (x) = (x+1)−^1 , about x 0 = 0, is p 3 (x) = 1 − x + x^2 − x^3.

Problem 2 What is the forth-order Taylor polynomial for f (x) = 1/x, about x 0 = 1?

Problem 3 What is the Taylor polynomial of order 3 for f (x) = x^4 + 1, using x 0 = 0?

Problem 4 Given that R(x) = −|x| 4 4!(1 + ξ) for x ∈ [−^12 , 12 ], where ξ is between x and 0, find an upper bound for |R|, valid for all x ∈ [−^12 , 12 ], that is independent of x and ξ.

Problem 5 Let p(x) be an arbitrary polynomial of degree less than or equal to n. What is its Taylor polynomial of degree n, about an arbitrary x 0?

Problem 6 For each of the following functions construct the third-order Taylor polynomial approximation, using x 0 = 0, and then estimate the error by computing an upper bound on the remainder, over the given interval.

  1. f (x) = e−x, x ∈ [0, 1]
  2. f (x) = sin x, x ∈ [0, π]
  3. f (x) = ln(1 + x), x ∈ [−^34 , 34 ]
  4. f (x) = ln(1 + x), x ∈ [−^12 , 12 ] 1
  1. f (x) = 1/(x + 1), x ∈ [−^12 , 12 ] Problem 7 Construct a Taylor polynomial approximation that is accurate to within 10−^6 , over the indicated interval, for each of the following functions, using x 0 = 0.
  2. f (x) = e−x, x ∈ [0, 1]
  3. f (x) = sin x, x ∈ [0, π]
  4. f (x) = ln(1 + x), x ∈ [−^34 , 34 ]
  5. f (x) = ln(1 + x), x ∈ [−^12 , 12 ]
  6. f (x) = 1/(x + 1), x ∈ [−^12 , 12 ] Problem 8 Give the Taylor polynomial of order 3 for the function xx, about x 0 = 1.