CSIT 3rd Semester
Numerical Method Board Question Paper 2082


CSC 212-2082 ✡
Tribhuvan University
Institute of Science and Technology
2082
Bachelor Level/Second Year/Third Semester/Science
Computer Science Information Technology (CSC 212)
(Numerical Method)
(New Course)
Full Marks:60 Pass Marks:24 Time:3 hours

Candidates are required to give their answers in their own words as for as practicable.
The figures in the margin indicate full marks

Section A
Long Answer Questions
Attempt any Two question.
[2x10=20]
1.

A software project manager wants to study the relationship between the number of lines of code (LOC) written and the number of bugs reported during testing. The data from several modules is shown below.

Lines of Code (LOC)100150200250300
Bugs Reported3691317

Fit a straight line to model the relationship between LOC and bugs reported.

2.

Some observation records the displacement of a particle at different time intervals to study its motion. The data collected is given below.

Time (t in sec)22.533.54
Displacement(s in m)3.005.105.906.507.40

Construct the divided difference table for the displacement data and estimate the particle’s velocity and acceleration at t = 2.5 seconds.

3.

Solve the following system of linear equations using the Jacobi iteration method.
2x + 3y − z = 1
4x − y + 2z = 2
−3x + 2y + 3z = 3

Section B

Attempt any Eight questions

[8x5=40]
4.

Explain how boundary value problem differs from initial value problem. Explain how shooting method is used to solve boundary value problem.

5.

Find the approximate value of y when x = 0.4 for the differential equation dy/dx = x² + y, given that y = 2 when x = 0, using the Runge-Kutta method of order 4 with a step size of h = 0.2.

6.

Consider a metallic plate of size 36cm × 36cm. If two of the sides are held at 50 degree celsius and the other two sides at 0 degrees celsius, find the steady state temperatures of interior points, assuming a grid size of 12cm × 12cm.

7.

Derive the secant method for solving non-linear equation and using this method solve 3x³ − x − 5 = 0, correct up to three decimal places.

8.

How does pivoting improve accuracy of solution? Explain how Gauss elimination method differs from Gauss Jordan method. Solve the following system of linear equations using Gauss elimination with partial pivoting:
x + 2y − z = 1
3x − y + 2z = 12
2x + y + 2z = 10

9.

What is numerical integration and why is numerical integration used instead of analytical integration? Write an algorithm and a program to compute the integration using Simpson’s 1/3 rule.

10.

Discuss the sources of errors in numerical calculations and explain how each type affects computational results.

11.

How regression differ from interpolation? Construct the cubic spline for the following data points.

X123
Y235

12.

A meteorologist is tracking the temperature at different times during the day to predict the temperature at a specific hour. The following temperature data (in °C) was recorded at different hours:

Time (t)(hrs)581013
Temperature (T)(°C)18222426

Estimate the temperature at t = 9 using Lagrange’s interpolation.