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

Computational and Numerical Methods

Sub Code: CS374, Insem2


Max Marks: 50, Time: 1Hrs

1. Explain why for n > 0, L0 (x) + L1 (x) + . . . + Ln (x) = 1 for all x.

2. If f (x) = eax , show that ∆n f (x) = (eah − 1)n eax

3. Define
x3 + 2x2 + 1

1≤x≤2
s(x) = 3 2
−2x + βx − 36x + 25 2 ≤ x ≤ 3
For a special value of β, s(x) is a cubic spline function on [1, 3]. Find
the value of β and then verify that s(x) is a cubic spline function on
[1, 3]. Is it a natural cubic spline function on this interval ?

4. Let f (x) = 3xex − e2x . Approximate f (1.03) by the Hermite interpo-


lating polynomial of degree at most three using x0 = 1 and x1 = 1.05.

5. Compute by using composite Trapezoid rule


Z 0.2 2
x
dx
0.1 cos x

with an error < 10−10 .

You might also like