BE Computer Engineering (Pokhara University) Numerical Methods (PU, MTH 252) Question Paper 2078 Nepal
This is the official BE Computer Engineering (Pokhara University) Numerical Methods (PU, MTH 252) question paper for 2078, as set in the regular annual examination. It carries 100 full marks and a time allowance of 180 minutes, across 11 questions. On Kekkei you can attempt this Numerical Methods (PU, MTH 252) 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 BE Computer Engineering (Pokhara University) Numerical Methods (PU, MTH 252) 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 all / any as specified.
(a) Derive the iterative formula of the Newton-Raphson method for finding a real root of the equation , and state the geometric interpretation of the method. Discuss the conditions under which the method may fail to converge. (6)
(b) A real root of the equation lies between 2 and 3. Using the Newton-Raphson method, perform three iterations starting from and obtain the root correct to four decimal places. Compare the rate of convergence with that of the bisection method. (6)
(a) Newton-Raphson Formula, Geometry and Failure
Derivation. Let be an approximation to a root of . Expand in a Taylor series about and retain terms up to the first order:
Thus the next approximation gives the iterative formula
Geometric interpretation. At the point draw the tangent to the curve . This tangent meets the -axis at . The method therefore successively replaces the curve by its tangent, and the point where the tangent cuts the -axis is taken as the improved root.
Conditions for failure / non-convergence. The method may fail or diverge when:
- or is very small (tangent is horizontal or nearly so), giving a huge correction.
- The initial guess is far from the root or lies near a turning point/inflection point, so iterates may oscillate or diverge.
- There is a multiple root, where convergence degrades from quadratic to linear.
- The function is not sufficiently smooth ( not continuous) near the root.
When it does converge near a simple root the convergence is quadratic, i.e. the error satisfies .
(b) Root of
Here , with .
| 0 | 2.000000 | 10 | 2.100000 | |
| 1 | 2.100000 | 0.061000 | 11.23 | 2.094568 |
| 2 | 2.094568 | 0.000189 | 11.1614 | 2.094551 |
After three iterations the root is
Comparison with bisection. The bisection method halves the interval each step, so its error decreases linearly: , needing about steps for accuracy on . Newton-Raphson roughly doubles the number of correct digits each iteration (quadratic convergence) and reached 4-decimal accuracy in only 3 iterations. Hence Newton-Raphson converges much faster, though bisection is always convergent once the root is bracketed.
(a) Derive Newton's forward difference interpolation formula and clearly state the situation in which it should be preferred over Newton's backward difference formula. (6)
(b) The following table gives the population (in thousands) of a town in different census years:
| Year () | 1971 | 1981 | 1991 | 2001 | 2011 |
|---|---|---|---|---|---|
| Population () | 46 | 66 | 81 | 93 | 101 |
Using an appropriate interpolation formula, estimate the population of the town in the year 1976. (8)
(a) Newton's Forward Difference Interpolation Formula
For equally spaced nodes , with forward differences , put . The interpolating polynomial is
Outline of derivation. Using the shift operator with and , we have . Expanding by the binomial theorem,
which is the required formula.
When to prefer it. Newton's forward formula should be used to interpolate near the beginning of the table (small , close to ). Newton's backward formula is preferred near the end of the table (close to ). Since 1976 is close to the first tabulated year 1971, the forward formula is appropriate here.
(b) Population in 1976
With , the forward difference table is:
| 1971 | 46 | 20 | 2 | ||
| 1981 | 66 | 15 | |||
| 1991 | 81 | 12 | |||
| 2001 | 93 | 8 | |||
| 2011 | 101 |
Here . Applying the formula:
(a) Derive the fourth-order Runge-Kutta method for solving the first-order ordinary differential equation with the initial condition . (6)
(b) Using the fourth-order Runge-Kutta method, find for the initial value problem , taking step size . Carry out two steps and retain four decimal places. (8)
(a) Fourth-Order Runge-Kutta Method
For , the RK4 method estimates the increment in over one step as a weighted average of four slopes:
Idea of derivation. Write and expand each and the exact solution in Taylor series in . Matching the coefficients of gives the standard weights and the half-step evaluation points. The local truncation error is , so the method is fourth order accurate.
(b) Solve
Step 1 ():
So .
Step 2 ():
(a) Explain the Gauss-Seidel iterative method for solving a system of linear equations. State the condition of diagonal dominance and explain why it guarantees convergence. (5)
(b) Solve the following system of equations using the Gauss-Seidel iterative method, performing iterations until the values are correct to three decimal places:
(7)
(a) Gauss-Seidel Method and Diagonal Dominance
For a system , solve the -th equation for :
Unlike Jacobi's method, Gauss-Seidel uses each newly computed value immediately within the same iteration, which usually speeds up convergence. Iterations continue until successive values agree to the required accuracy.
Diagonal dominance. The matrix is (strictly) diagonally dominant if for every row
When this holds, the magnitude of the iteration's correction terms is bounded by a factor , so the error contracts every sweep; hence the iteration converges to the unique solution regardless of the starting guess. If a system is not dominant, rearranging the equations to achieve dominance is advisable.
(b) Solve by Gauss-Seidel
The system is already diagonally dominant. Rearranged:
Starting with :
| Iter | |||
|---|---|---|---|
| 1 | 0.900 | 3.067 | |
| 2 | 1.0513 | 3.0098 | |
| 3 | 0.9987 | 2.9994 | |
| 4 | 0.9998 | 3.0000 | |
| 5 | 1.0000 | 3.0000 |
The values are stable to three decimal places:
Section B: Short Answer Questions
Attempt all / any as specified.
Using the secant method, find a real root of the equation correct to three decimal places. Take initial approximations and , and tabulate your iterations.
Secant Method for
Formula:
With :
| 1 | 0.00000 | 1.00000 | 0.31467 | |
| 2 | 1.00000 | 0.31467 | 0.51987 | 0.44673 |
| 3 | 0.31467 | 0.44673 | 0.20354 | 0.53171 |
| 4 | 0.44673 | 0.53171 | 0.51690 | |
| 5 | 0.53171 | 0.51690 | 0.00259 | 0.51776 |
| 6 | 0.51690 | 0.51776 | 0.51776 |
Successive values agree to three decimals at –.
Fit a curve of the form to the following data by the method of least squares and hence estimate at :
| 1 | 2 | 3 | 4 | 5 | |
|---|---|---|---|---|---|
| 1.65 | 2.70 | 4.50 | 7.35 | 12.10 |
Fitting by Least Squares
Take logarithms: . Let , so — a straight line fitted by least squares.
| 1 | 1.65 | 0.5008 | 1 | 0.5008 |
| 2 | 2.70 | 0.9933 | 4 | 1.9865 |
| 3 | 4.50 | 1.5041 | 9 | 4.5122 |
| 4 | 7.35 | 1.9947 | 16 | 7.9788 |
| 5 | 12.10 | 2.4932 | 25 | 12.4659 |
| 7.4860 | 55 | 27.4443 |
With :
Hence the fitted curve is
Estimate at :
Evaluate the integral by dividing the interval into six equal subintervals, using (a) the Trapezoidal rule and (b) Simpson's rule. Compare both results with the exact value and comment on the accuracy.
Evaluating with
| 0 | 0.0000 | 1.000000 |
| 1 | 0.1667 | 0.972973 |
| 2 | 0.3333 | 0.900000 |
| 3 | 0.5000 | 0.800000 |
| 4 | 0.6667 | 0.692308 |
| 5 | 0.8333 | 0.590164 |
| 6 | 1.0000 | 0.500000 |
(a) Trapezoidal rule.
(b) Simpson's 1/3 rule.
Exact value:
| Method | Value | Error |
|---|---|---|
| Trapezoidal | 0.784241 | 0.001157 |
| Simpson's 1/3 | 0.785398 | |
| Exact | 0.785398 | — |
Comment. Simpson's rule is far more accurate: it fits parabolic arcs (error ) and matches the exact value to six decimals, whereas the trapezoidal rule (error ) is correct only to about two decimals.
From the following table of values, find the first and second derivatives of the function at using suitable numerical differentiation formulae:
| 1.0 | 1.2 | 1.4 | 1.6 | 1.8 | |
|---|---|---|---|---|---|
| 0.000 | 0.128 | 0.544 | 1.296 | 2.432 |
Numerical Differentiation at
The nodes are equally spaced with and . Since is near the start, use Newton's forward-difference derivative formulae with .
Forward difference table:
| 1.0 | 0.000 | 0.128 | 0.288 | 0.048 | 0.000 |
| 1.2 | 0.128 | 0.416 | 0.336 | 0.048 | |
| 1.4 | 0.544 | 0.752 | 0.384 | ||
| 1.6 | 1.296 | 1.136 | |||
| 1.8 | 2.432 |
First derivative:
With ():
Second derivative:
With :
(a) Distinguish between truncation error and round-off error with one example of each. (3)
(b) If and errors in are each at , compute the maximum absolute error and the maximum relative error in . (3)
(a) Truncation vs Round-off Error
Truncation error arises from approximating an infinite/exact mathematical process by a finite one — i.e. from terminating a series or replacing a derivative/integral by a finite formula. Example: using (dropping higher terms) introduces a truncation error of order .
Round-off error arises because a computer/calculator stores numbers with a finite number of digits, so each stored value or arithmetic result is rounded. Example: representing to 4 digits introduces a round-off error of about .
(b) Error in
The maximum absolute error is
Partial derivatives:
At : , and the partials are in magnitude. With :
Maximum relative error:
(Equivalently, since )
Using the Modified Euler method, solve the differential equation with to find and , taking . Perform the corrector iteration until two successive values agree to four decimal places.
Modified Euler Method for
Predictor (Euler):
Corrector: , iterated until convergence.
Step 1: find , with
- Predictor:
- Corrector 1:
- Corrector 2:
- Corrector 3:
Converged:
Step 2: find , with
- Predictor:
- Corrector 1:
- Corrector 2:
- Corrector 3:
Converged:
(For reference the exact solution gives , confirming the accuracy.)
Using the LU (Doolittle) decomposition method, factorize the coefficient matrix and hence solve the system of equations:
LU (Doolittle) Decomposition
The system has coefficient matrix
Note on pivoting. Direct Doolittle factorization fails at the pivot because . We therefore interchange rows 2 and 3 (partial pivoting) and factorize the rearranged system
Doolittle factorization ( unit lower-triangular):
Check:
Forward substitution :
Back substitution :
Frequently asked questions
- Where can I find the BE Computer Engineering (Pokhara University) Numerical Methods (PU, MTH 252) question paper 2078?
- The full BE Computer Engineering (Pokhara University) Numerical Methods (PU, MTH 252) 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 Methods (PU, MTH 252) 2078 paper come with solutions?
- Yes. Every question on this Numerical Methods (PU, MTH 252) past paper includes a step-by-step solution, plus instant AI feedback when you attempt it on Kekkei.
- How many marks is the BE Computer Engineering (Pokhara University) Numerical Methods (PU, MTH 252) 2078 paper?
- The BE Computer Engineering (Pokhara University) Numerical Methods (PU, MTH 252) 2078 paper carries 100 full marks and is meant to be completed in 180 minutes, across 11 questions.
- Is practising this Numerical Methods (PU, MTH 252) past paper free?
- Yes — reading and attempting this Numerical Methods (PU, MTH 252) past paper on Kekkei is completely free.