Assignment # 1

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

Numerical Analysis

Assignment # 1
Dr.M.Imtiaz
Due on: 20th September, 2016

𝜋
Q#1. Calculate the 1st derivative of 𝑓(𝑥) = sin(𝑥 2 ) 𝑎𝑡 𝑥 = by using the
2
𝑓(𝑥+ℎ)−𝑓(𝑥)
approximate expression 𝑓′(𝑥) = with varying step size to get at least 2

significant digits correct.

2
Q#2. Find the fourth Taylor polynomial 𝑃4 (𝑥) for the function 𝑓 (𝑥 ) = 𝑥𝑒 𝑥
about 𝑥𝑜 = 0.
 Find an upper bound for |𝑓(𝑥) − 𝑃4 (𝑥)|, for 0 ≤ 𝑥 ≤ 0.4.
 Approximate 𝑓 ′ (0.2) using 𝑃4 ′(0.2) and also, find the error.

Q#3. How many terms of Taylor series would it require to get an approximation of
sin(2𝑥) centered at 𝑥 = 0 within a magnitude of true error of less than 10−5 ?

Q#4. Use the bisection method to find an approximation to within 10−5 for the
following problems.
 𝑓(𝑥) = 𝑥 − 2−𝑥 for 0 ≤ 𝑥 ≤ 1.
 𝑓(𝑥) = 𝑒 𝑥 − 𝑥 2 + 3𝑥 − 2 for 0 ≤ 𝑥 ≤ 1.

Q#5. Determine the positive real root of ln(𝑥 4 ) = 0.7 by using Bisection Method
1
in the interval [0.5, 2] with the tolerance of
100
.

You might also like