Semester : SEMESTER 5
Subject : Computer Programming & Numerical Methods
Year : 2020
Term : DECEMBER
Branch : MECHANICAL ENGINEERING
Scheme : 2015 Full Time
Course Code : ME 305
Page:2
00000ME305121901
Write a program to illustrate class declaration, definition and accessing class (5)
members?
PART C
Answer any four full questions, each carries 10 marks.
Explain the stability and convergence of numerical methods? (5)
Explain Aitken interpolation technique? (5)
What is meant by order of a PDE? Give examples of first, second and third (5)
order PDE?
Explain the method of least squares in curve fitting? (5)
Use Gauss elimination method to solve (10)
4x1+X2-x3= -2
5x1 +X2+2x3= 4
6X1+X2+X3= 6
Write a C++ program/ algorithm / flow chart for a finite difference method for (10)
solving numerical problem?
Solve the Laplace equation for the square mesh shown below and find the (10)
temperature T1,T2,T3 and T4 with the boundary conditions, left T=200K, right
T=600K top T=400K and bottom T=800K as below
Find the Lagrange interpolation polynomial which agrees with the following (10)
data and calculate f(9).
೫ 5 7 11 13 17
f(x) 150 392 1452 2366 5202
Page 2 of 2