BSc CSIT (TU) Science Numerical Method (BSc CSIT, CSC207) Question Paper 2078 Nepal
This is the official BSc CSIT (TU) (Science stream) Numerical Method (BSc CSIT, CSC207) question paper for 2078, as set in the regular annual examination. It carries 60 full marks and a time allowance of 180 minutes, across 12 questions. On Kekkei you can attempt this Numerical Method (BSc CSIT, CSC207) past paper online with a timer, get instant AI feedback and step-by-step solutions, and track the topics where you lose marks — completely free. Whether you are revising for your BSc CSIT (TU) Numerical Method (BSc CSIT, CSC207) exam or solving previous years' question papers, this 2078 paper is a great way to practise under real exam conditions.
Section A: Long Answer Questions
Attempt any TWO questions.
What is curve fitting? Explain the least squares method to fit a straight line y = a + bx to a given set of data points.
Curve Fitting
Curve fitting is the process of constructing a curve (a mathematical function) that has the best fit to a series of observed data points . The goal is to find a smooth functional relationship that approximately represents the trend of the data, so it can be used for interpolation, extrapolation, and prediction.
Least Squares Method for a Straight Line
We wish to fit the line
to data points .
For each point the residual (error) is
The least squares principle requires choosing and so that the sum of the squares of the residuals is minimum:
Deriving the Normal Equations
is minimum when its partial derivatives with respect to and vanish:
Simplifying gives the two normal equations:
Solving for the Coefficients
Solving these simultaneous equations:
where and .
Procedure
- Form a table of and compute .
- Substitute into the normal equations.
- Solve for and .
- The required fitted line is .
The resulting line passes through the centroid and gives the best straight-line approximation in the least-squares sense.
Explain the finite difference method for solving partial differential equations. Derive the standard five-point formula for Laplace's equation.
Finite Difference Method (FDM) for PDEs
The finite difference method solves a partial differential equation by replacing the continuous derivatives with difference approximations evaluated on a discrete grid (mesh) of points covering the solution domain.
Steps:
- Cover the region with a rectangular grid of mesh size in and in , giving nodes .
- Replace each partial derivative in the PDE by a finite-difference approximation at the interior nodes.
- This converts the PDE into a system of algebraic equations relating the nodal values .
- Impose the boundary conditions, then solve the system (directly or by iteration such as Gauss-Seidel / Liebmann's method).
Standard central-difference approximations (mesh size ):
Five-Point Formula for Laplace's Equation
Laplace's equation in two dimensions is
Using a square grid () and substituting the central-difference approximations above:
Multiplying through by :
Solving for the central value gives the standard five-point (diagonal) formula:
Interpretation: the value of at any interior node equals the average of the values at its four neighbouring nodes (left, right, above, below). The system formed at all interior nodes is solved together with the prescribed boundary values, usually iteratively by Liebmann's (Gauss-Seidel) method.
Explain the bisection method for finding the root of a non-linear equation. Find a real root of the equation x^3 - x - 1 = 0 correct to three decimal places using the bisection method.
Bisection Method
The bisection method is a bracketing (interval-halving) technique to find a real root of where is continuous.
Principle (Intermediate Value Theorem): If , then a root lies between and .
Algorithm:
- Choose such that .
- Compute the midpoint .
- If (or is within tolerance), is the root.
- If , the root lies in , so set ; otherwise set .
- Repeat until (or ) is less than the required accuracy.
The method always converges (linearly) since the interval halves each step.
Root of
Let .
and , so a root lies in .
| n | a | b | c=(a+b)/2 | f(c) | New interval |
|---|---|---|---|---|---|
| 1 | 1.0000 | 2.0000 | 1.5000 | +0.8750 | [1, 1.5] |
| 2 | 1.0000 | 1.5000 | 1.2500 | -0.2969 | [1.25, 1.5] |
| 3 | 1.2500 | 1.5000 | 1.3750 | +0.2246 | [1.25, 1.375] |
| 4 | 1.2500 | 1.3750 | 1.3125 | -0.0515 | [1.3125, 1.375] |
| 5 | 1.3125 | 1.3750 | 1.3438 | +0.0826 | [1.3125, 1.3438] |
| 6 | 1.3125 | 1.3438 | 1.3281 | +0.0146 | [1.3125, 1.3281] |
| 7 | 1.3125 | 1.3281 | 1.3203 | -0.0187 | [1.3203, 1.3281] |
| 8 | 1.3203 | 1.3281 | 1.3242 | -0.0021 | [1.3242, 1.3281] |
| 9 | 1.3242 | 1.3281 | 1.3262 | +0.0062 | [1.3242, 1.3262] |
| 10 | 1.3242 | 1.3262 | 1.3252 | +0.0020 | [1.3242, 1.3252] |
| 11 | 1.3242 | 1.3252 | 1.3247 | -0.0001 | [1.3247, 1.3252] |
| 12 | 1.3247 | 1.3252 | 1.3249 | +0.0009 | [1.3247, 1.3249] |
The successive midpoints converge to .
(The exact root is .)
Section B: Short Answer Questions
Attempt any EIGHT questions.
Explain Newton's divided difference interpolation formula.
Newton's Divided Difference Interpolation
This formula constructs an interpolating polynomial through data points with unequally spaced -values.
Divided differences are defined recursively:
- First order:
- Second order:
- In general:
Newton's divided difference formula:
Procedure: Build a divided-difference table, take the leading (top) divided differences as coefficients, and substitute the value of at which the function is required.
Advantages: Works for unequal spacing; new data points can be added without recomputing earlier terms (unlike Lagrange's method).
Explain the power method for finding the largest eigenvalue of a matrix.
Power Method
The power method is an iterative technique to find the dominant (largest in magnitude) eigenvalue and its corresponding eigenvector of a square matrix .
Principle: If has a unique dominant eigenvalue (), then repeatedly multiplying an arbitrary starting vector by makes it converge to the eigenvector of .
Algorithm:
- Choose an initial nonzero vector (e.g. ).
- Compute .
- Let the largest-magnitude component of .
- Normalize: .
- Repeat steps 2-4 until successive values (and vectors) agree to the desired accuracy.
At convergence, (the largest eigenvalue) and is the corresponding eigenvector.
Notes: Convergence is linear and faster when is small. The inverse power method (applied to ) gives the smallest eigenvalue.
Fit a second-degree parabola y = a + bx + cx^2 to a set of data using the least squares principle.
Fitting a Second-Degree Parabola (Least Squares)
We fit
to data points . The residual for each point is , and we minimize
Normal Equations
Setting gives three normal equations:
Procedure
- Tabulate and compute the required sums.
- Substitute the sums into the three normal equations.
- Solve the simultaneous linear equations (e.g. by elimination) for .
- The fitted parabola is .
This yields the best second-degree polynomial fit in the least-squares sense.
Define absolute, relative and percentage errors. Explain the sources of errors in numerical computation.
Types of Error
Let be the true value and the approximate (computed) value.
- Absolute error: the magnitude of the difference,
- Relative error: absolute error per unit true value,
- Percentage error: relative error expressed as a percentage,
Sources of Errors in Numerical Computation
- Inherent (input/data) errors – errors already present in the data due to limitations of measuring instruments or imperfect physical assumptions.
- Round-off errors – caused by representing numbers with a finite number of digits (finite word length of the computer), e.g. retaining only a few decimal places.
- Truncation errors – caused by approximating an infinite process by a finite one, e.g. terminating a Taylor/infinite series after a few terms.
- Modelling / formulation errors – arise when the mathematical model is a simplification of the real problem.
- Human/blunders – mistakes in coding, data entry, or arithmetic.
Round-off and truncation errors are the two principal sources controllable in numerical methods.
Explain the secant method for finding the root of an equation and compare it with the Newton-Raphson method.
Secant Method
The secant method finds a root of using two previous approximations. The next estimate is the -intercept of the secant line joining and :
Algorithm:
- Choose two initial guesses .
- Compute using the formula above.
- Replace and repeat until is within tolerance.
This is essentially the Newton-Raphson method with the derivative replaced by the difference quotient .
Comparison with Newton-Raphson
| Feature | Secant method | Newton-Raphson |
|---|---|---|
| Initial guesses | Needs two () | Needs one () |
| Derivative | Not required | Requires |
| Iteration formula | ||
| Order of convergence | (superlinear) | (quadratic) |
| Cost per step | One function evaluation | Two evaluations ( and ) |
Summary: The secant method avoids computing derivatives and is cheaper per iteration, but converges a little slower than the faster (quadratic) Newton-Raphson method.
Describe the false position (regula falsi) method with its geometric interpretation.
False Position (Regula Falsi) Method
The false position method is a bracketing method that, like bisection, requires two points with so that a root lies between them. Instead of taking the midpoint, it takes the point where the chord (straight line) joining and crosses the x-axis.
Iteration formula:
Algorithm:
- Choose with .
- Compute from the formula above.
- If , set ; else set (keep the sub-interval that still brackets the root).
- Repeat until (or successive values) is within the desired accuracy.
Geometric Interpretation
The two points and lie on opposite sides of the x-axis. The straight chord connecting them intersects the x-axis at . This intersection is taken as the improved approximation to the root. Replacing the curve locally by this chord (a linear interpolation) is why it is called the method of false position: as iterations proceed, the chord's intercept approaches the actual root where the curve cuts the x-axis.
Convergence is always guaranteed (the root stays bracketed) and is usually faster than bisection, though one endpoint may remain fixed.
State and explain Lagrange's interpolation formula with a suitable example.
Lagrange's Interpolation Formula
For data points with unequally (or equally) spaced abscissae, the interpolating polynomial is
where the Lagrange basis polynomials are
For three points the formula is
Each at and at every other node, so the polynomial passes exactly through all the data points.
Example
Given , find at .
So .
Derive the trapezoidal rule for numerical integration and state its error term.
Trapezoidal Rule — Derivation
To evaluate , divide into equal sub-intervals of width , with nodes and ordinates .
Single strip: Over each sub-interval the curve is approximated by a straight line, so the area of the strip is that of a trapezium:
Composite rule: Summing over all strips:
That is: (end ordinates) + 2 × (sum of remaining ordinates), all multiplied by .
Error Term
The error in the composite trapezoidal rule is
Since the error is proportional to , the trapezoidal rule is a second-order method and is exact for polynomials of degree (straight lines).
Explain the Gauss-Seidel iterative method to solve a system of linear equations.
Gauss-Seidel Iterative Method
The Gauss-Seidel method is an iterative technique for solving a system of linear equations . It refines an initial guess of the unknowns until convergence.
Consider the system:
Step 1 — Rearrange each equation to make one variable the subject (solve the -th equation for using the diagonal element):
Step 2 — Iterate: Start with an initial guess (e.g. ). In each sweep, compute , then immediately use the new when computing , and use the new when computing . This use of the most recently updated values distinguishes it from the Jacobi method and speeds up convergence.
Step 3 — Stop when the values stop changing within the required tolerance, i.e. for all .
Convergence condition: The method is guaranteed to converge if the coefficient matrix is diagonally dominant, i.e.
so the equations should be arranged to make the largest coefficients lie on the diagonal before iterating.
Frequently asked questions
- Where can I find the BSc CSIT (TU) Numerical Method (BSc CSIT, CSC207) question paper 2078?
- The full BSc CSIT (TU) Numerical Method (BSc CSIT, CSC207) 2078 (regular) question paper is available free on Kekkei. You can read every question online and attempt the paper under timed exam conditions.
- Does the Numerical Method (BSc CSIT, CSC207) 2078 paper come with solutions?
- Yes. Every question on this Numerical Method (BSc CSIT, CSC207) past paper includes a step-by-step solution, plus instant AI feedback when you attempt it on Kekkei.
- How many marks is the BSc CSIT (TU) Numerical Method (BSc CSIT, CSC207) 2078 paper?
- The BSc CSIT (TU) Numerical Method (BSc CSIT, CSC207) 2078 paper carries 60 full marks and is meant to be completed in 180 minutes, across 12 questions.
- Is practising this Numerical Method (BSc CSIT, CSC207) past paper free?
- Yes — reading and attempting this Numerical Method (BSc CSIT, CSC207) past paper on Kekkei is completely free.