Docsity

Numerical Methods Homework Assignment - EAD210A by Rao Vemuri, Assignments of Engineering

Toggle sidebar
bg1
EAD210A- Numerical Methods _ Rao Vemuri
Homework Assignment 1. (Due 7 October 2004)
Programming Problem.
1. (10 pts) Do Problem 1 in Section 1.9, page 104 of the text. Use Matlab, if
necessary, to plot the curves. (10 pts)
Paper-Pencil Problems
2. Verify the validity of Eq. (1.2-2a) on page 29
3. Prove the inequality (1.2-7) on page 35
4. Do Problem 3 on page 104.
5. Let ∏N([a,b]) is the set of all polynomials of degree N or less than N. Show that
∏N([a,b]) is a vector space of dimension N
6. (5 pts) Given, for N=2
xi 0 1 3
fi 1 3 2
Find P(2) where P ε ∏2 and P(xi) = fi, for i = 0, 1, 2.
7. Let Li(x) be the Lagrange polynomials defined on page 29.
Let ci := Li(0)
Show that
⎪
⎩
⎪
⎨
⎧
+=−−
=−
=−
=
∑
=)1(,...)1(
,...,2,1,0
0,1
0
0Njforxx
Njfor
jfor
xc
N
N
j
i
N
ii
8. Estimate the error in the approximation of f(x) = sin x with .5,4,3,2,1,0,
10 == i
i
xi
π
N=5.
9. (a) Interpolate the function ln(x) by a quadratic polynomial at x = 10, 11, 12.
(b) Estimate the error committed at x = 11.1
10. (a) (10+5 pts)The Bessel function of order zero
∫
=
π
π
0
0)sincos(
1
)( dttxxJ
is to be tabulated at equidistant arguments ihxxi
+
=
0, I = 0,1,2,… How small must
the increment h be chosen so that the interpolation error remains below 10-6, if linear
interpolation is used?
(b) What is the behavior of the maximal interpolation error
|)()(|max 0
10 xJxPN
x−
≤≤
as n → ∞, if PN(x) interpolates J0(x) at NiNixx N
i,...,1,0,/: === ? Hint: It suffices
to show that 1|)(| 0≤xJ k for k = 0, 1,…

Partial preview of the text

Download Numerical Methods Homework Assignment - EAD210A by Rao Vemuri and more Assignments Engineering in PDF only on Docsity!

EAD210A- Numerical Methods _ Rao Vemuri

Homework Assignment 1. (Due 7 October 2004)

Programming Problem.

  1. (10 pts) Do Problem 1 in Section 1.9, page 104 of the text. Use Matlab, if necessary, to plot the curves. (10 pts) Paper-Pencil Problems
  2. Verify the validity of Eq. (1.2-2a) on page 29
  3. Prove the inequality (1.2-7) on page 35
  4. Do Problem 3 on page 104.
  5. Let ∏N([a,b]) is the set of all polynomials of degree N or less than N. Show that ∏N([a,b]) is a vector space of dimension N
  6. (5 pts) Given, for N=

xi 0 1 3 fi 1 3 2

Find P(2) where P ε ∏ 2 and P(x (^) i ) = fi , for i = 0, 1, 2.

  1. Let Li (x) be the Lagrange polynomials defined on page 29. Let ci := L (^) i(0) Show that

= ( 1 ) ... , ( 1 )

0

0 x x for j N

for j N

for j cx N

N

j i

N

i

i

  1. Estimate the error in the approximation of f(x) = sin x with , 0 , 1 , 2 , 3 , 4 , 5. 10

= i =

i xi

N=5.

  1. (a) Interpolate the function ln(x) by a quadratic polynomial at x = 10, 11, 12. (b) Estimate the error committed at x = 11.
  2. (a) (10+5 pts)The Bessel function of order zero

π

cos( sin )

J ( x ) x t dt

is to be tabulated at equidistant arguments xi = x 0 + ih , I = 0,1,2,… How small must the increment h be chosen so that the interpolation error remains below 10-6^ , if linear interpolation is used? (b) What is the behavior of the maximal interpolation error

max | ( ) 0 ( )| 0 1 PN x J x x

≤≤ as n → ∞, if PN(x) interpolates J 0 (x) at x = xiN : = i / N , i = 0 , 1 ,..., N? Hint: It suffices to show that | J (^) 0 k^ ( x )|≤ 1 for k = 0, 1,…