You are on page 1of 1

Kathmandu University

Assignment-II
Subject: Numerical Methods(MCSC 202) Groups: CE/CS/CIVE
1. Using interpolation on the following data for the bessel function , find
x 0 1 2 3 4 5 6 7 8 9
y 1 0.77 0.22 -0.26 -0.40 -0.18 0.15 0.30 0.17 -0.09
a) y(-0.5), y(0.5),y(1.5), y(2.5) ,y(3.5) using Newton's forward formula
b) y(3.5), y(4.5), y(5.5), y(6.5) using i)Gauss forward, ii)Gauss backward, iii)Stirling's, iv)Bessel's and
v)Everett's formula
c) y(5.5), y(6.5), y(7.5), y(8.5), y(9.5) using Newton's Backward formula.
2. Ammonia vapor is compressed inside a clinder by and external force acting on the poston. The ammonia is
initially at 300C, 500kPa and the final pressure is 1400kPa. The following data have been experimentally
determined during the process.
Pressure 500 653 945 1248 1400
Volume 1.25 1.08 0.84 0.60 0.50
a) Using Lagrange's interpolation, find the volume when pressure is 802 and 1100
b) Using Lagrange's interpolation, find the pressure when volume is 1 and 0.75
c) Using Newton's general interpolation, find the volume when pressure is 802 and 1100. Compare results
with Lagrange's method.
3. Prove the following relations where the operators have their usual meaning. i) ii)

iii) iv)

4. Deduce Newton's forward and backward difference interpolation formula as a particular case of Newton's
divided difference interpolation formula.

5. If , prove that .

6. Write the expression for and due to Newton forward, Newton backward and Stirling. Use

these expressions to estimate the rocket's velocity and acceleration for each value of t from the following table:
Time(sec) 0 1 2 3 4 5 6
Distance(km) 0 3 7 15 38 60 108
7. Calculate f'(x) and f''(x) at x=-0.5, 1.5, and 2.5 of using calculus. Make a table of
functional values of from to using increment . Find f'(x) and f''(x) using numerical
differerntiation formulas at x=-0.5, 1.5, and 2.5. Calculate the error and compare the result.
8. With an optimal tilting strategy, the theoretical lower bound for the time needed to pour milk from a plastic
pouch into a pitcher requires the calculation fo the integrals:

and . Approximate the value of each integral using a)Trapezoidal

rule b) Simpson's rule c) Simpson's rule using at least 5 subintervals and compare the results.

9. Evaluate: using trapezoidal and simpson's rule using .


The End

You might also like