Sie sind auf Seite 1von 6

Numerical Analysis and Computer programming Lab.

4th Semester
Department of Electronics & Tele-Communication Engineering

Experiment No. 1
1. Write program of a Forward Difference Table using C 2. Give tabular input data generated for following functions and display the difference table in console (i) (ii) (iii) log X (X = 1 to 10 with equal interval) sin X (X = 0 to with equal interval) X3 + X2 +3 (X = 0.1 to 1.6 with equal interval)

3. Store the generated difference table in an output file (use file management commands of c) and modify the above program accordingly.

Numerical Analysis and Computer programming Lab. 4th Semester


Department of Electronics & Tele-Communication Engineering

Experiment No. 2
1. Compute Newtons forward Interpolation formula and interpolate for any value of X. Give tabular input from keyboard. 2. Revise the program taking tabular data from a file. 3. Revise the same program using stored difference table in a file. 4. Repeat the same for Newtons backward Interpolation formula. 5. Give example for extrapolating a data.

Numerical Analysis and Computer programming Lab. 4th Semester


Department of Electronics & Tele-Communication Engineering

Experiment No. 3
1. Compute Central difference Interpolation formula using Gausss forward and backward method. 2. As an example, interpolate for any value of X (centrally spaced data) giving tabular input from keyboard. 3. Revise the same program using stored difference table in a file. 4. Repeat the same for Stirling method.

Numerical Analysis and Computer programming Lab. 4th Semester


Department of Electronics & Tele-Communication Engineering

Experiment No. 4
Name of experiment: Interpolation for unevenly spaced points
1. Write program of Divided Difference Table. 2. Compute Newtons general interpolation formula for unevenly spaced points. 3. Revise the same program using stored divided difference table in a file. 4. Compute Aitkens scheme for interpolation by method of iteration. 5. Evaluate the value of y (2) using Aitkens scheme of iteration for the tabulated points (1, -3), (3, 9), (4, 30) and (6, 132). Write results on report sheet.

Numerical Analysis and Computer programming Lab. 4th Semester


Department of Electronics & Tele-Communication Engineering

Experiment No. 5
Name of experiment: Inverse interpolation and Numerical differentiation
1. Write program of inverse interpolation by method of Sucessive approximation. 2. Compute the first and second derivatives of the function on tabulated data using Newtons forward Interpolation formula. Give tabular input from keyboard. 3. Find dy/dx and d2 y/ dx2 at x =1.6 for tabular data (1.0, 2.7183), (1.2, 3.3201), (1.4, 4.0552), (1.6, 4.9530), (1.8, 6.0496), (2.0, 7.3891), (2.2, 9.0250). Write results on report sheet.

Numerical Analysis and Computer programming Lab. 4th Semester


Department of Electronics & Tele-Communication Engineering

Experiment No. 6
Name of experiment: Numerical Integration
1. Write program of numerical integration using (a) Trapezoidal rule, (b) Simpsons 1/3- rule and (3) Simpsons 3/8 rule. 2. Use your program of Trapezoidal rule and evaluate,
1 3

x2 log x dx by taking 4

strips and 8 strips respectively. Write results on report sheet.

Das könnte Ihnen auch gefallen