Chapter 7
Computational Methods
NEB Class 12 past exam questions
Past questions and answers
20 questions set from this chapter; 4 are most repeated (set, or a close variant set, in 3 or more exams). Most repeated first.
- Most repeated · 4 of 7 exams
- 2081 Baishakh · 5 marks
- NEB Model Question 2079 Mathematics · 5 marks
Using simplex method maximize subject to , , , .
Similar questions: Using simplex method, maximize Z = 3x (2082 Baishakh) · Using Simplex method, maximize , subject to (2080 Baishakh) · Simplex: maximize 7x + 5y (2078)
Answer
Maximize subject to .
Standard form. Add slack variables :
Initial tableau
| Basis | RHS | Ratio | ||||
|---|---|---|---|---|---|---|
| 1 | 1 | 1 | 0 | 4 | 4 | |
| 1 | 2 | 0 | 1 | 6 | 6 | |
| −3 | −2 | 0 | 0 | 0 |
The most negative entry is , so enters. The minimum ratio is , so leaves; the pivot is .
Iteration 1: , .
| Basis | RHS | ||||
|---|---|---|---|---|---|
| 1 | 1 | 1 | 0 | 4 | |
| 0 | 1 | −1 | 1 | 2 | |
| 0 | 1 | 3 | 0 | 12 |
All entries in the -row are non-negative, so the solution is optimal.
Check: the corner points give .
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- Most repeated · 3 of 7 exams
- 2083 Baishakh · 5 marks
Use simplex method to solve maximize subject to constraints
.
Similar questions: Using Simplex method, maximize , subject to (2080 Baishakh) · Simplex: maximize 7x + 5y (2078)
Answer
The question text is incomplete; the standard form of this problem is solved below.
Maximize subject to .
Step 1: Standard form. Introduce slack variables :
Step 2: Initial tableau.
| Basis | Ratio | ||||||
|---|---|---|---|---|---|---|---|
| 4 | 1 | 0 | 1 | 0 | 0 | – | |
| 12 | 0 | 2 | 0 | 1 | 0 | 6 | |
| 18 | 3 | 2 | 0 | 0 | 1 | 9 | |
| −3 | −5 | 0 | 0 | 0 |
The most negative entry is , so enters; the minimum ratio is , so leaves. The pivot is .
Step 3: Iteration 1. , , .
| Basis | Ratio | ||||||
|---|---|---|---|---|---|---|---|
| 4 | 1 | 0 | 1 | 0 | 0 | 4 | |
| 6 | 0 | 1 | 0 | 1/2 | 0 | – | |
| 6 | 3 | 0 | 0 | −1 | 1 | 2 | |
| −3 | 0 | 0 | 5/2 | 0 |
Now enters; the minimum ratio is , so leaves. The pivot is .
Step 4: Iteration 2. , , .
| Basis | ||||||
|---|---|---|---|---|---|---|
| 2 | 0 | 0 | 1 | 1/3 | −1/3 | |
| 6 | 0 | 1 | 0 | 1/2 | 0 | |
| 2 | 1 | 0 | 0 | −1/3 | 1/3 | |
| 0 | 0 | 0 | 3/2 | 1 |
All -row entries are non-negative, so the solution is optimal:
Check: , , .
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- Most repeated · 3 of 7 exams
- 2080 Baishakh · 5 marks
Using Simplex method, maximize , subject to the constraints , ; ; .
Similar questions: Using simplex method maximize Z = 3x (2081 Baishakh) · Use simplex method to solve maximize subject (2083 Baishakh)
Answer
Maximize subject to , , .
Standard form. Add slack variables: , .
Initial table
| Basis | |||||
|---|---|---|---|---|---|
| 1 | 1 | 1 | 0 | 4 | |
| 1 | 0 | 1 | 2 | ||
| 3 | 2 | 0 | 0 |
enters (largest positive ). Ratios: , , so leaves; pivot .
Iteration 1: .
| Basis | |||||
|---|---|---|---|---|---|
| 0 | 2 | 1 | 2 | ||
| 1 | 0 | 1 | 2 | ||
| 0 | 5 | 0 |
enters. Only row 1 has a positive entry: , so leaves; pivot .
Iteration 2: , .
| Basis | |||||
|---|---|---|---|---|---|
| 0 | 1 | 1 | |||
| 1 | 0 | 3 | |||
| 0 | 0 |
All , so the solution is optimal:
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- Most repeated · 3 of 7 exams
- 2078 · 8 marks
Use the simplex method to maximize subject to , , , .
Similar questions: Using simplex method maximize Z = 3x (2081 Baishakh) · Use simplex method to solve maximize subject (2083 Baishakh)
Answer
Maximize subject to .
Standard form: add slack variables :
Initial tableau
| Basis | RHS | Ratio | ||||
|---|---|---|---|---|---|---|
| 1 | 2 | 1 | 0 | 6 | 6 | |
| 4 | 3 | 0 | 1 | 12 | 3 (min) | |
| 0 | 0 | 0 |
The most negative entry in the -row is , so enters. The minimum ratio is in row , so leaves; the pivot is 4.
Iteration 1: ; ; .
| Basis | RHS | ||||
|---|---|---|---|---|---|
| 0 | 1 | 3 | |||
| 1 | 0 | 3 | |||
| 0 | 0 | 21 |
All entries in the -row are non-negative, so the solution is optimal.
Result: , maximum .
Check at the other corners: gives , gives , gives ; all are below .
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2082 Baishakh · 1 mark
Two simultaneous equations are given as and . What is the equation after eliminating ?
(a)
(b)
(c)
(d)
Similar questions: Two simultaneous linear equations are given as (2080 Baishakh)
Answer
(a)
Adding the two equations eliminates : , so .
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 1 MCQ
Loading…
- 2082 Baishakh · 5 marks
Using simplex method, maximize subject to constraint , , , .
Similar questions: Using simplex method maximize Z = 3x (2081 Baishakh)
Answer
Maximize subject to , , .
Standard form. Add slack variables : , , .
Initial table
| Basis | RHS | ||||
|---|---|---|---|---|---|
| 1 | 1 | 1 | 0 | 4 | |
| 1 | 2 | 0 | 1 | 6 | |
| 0 | 0 | 0 |
Most negative entry in the -row is , so enters. Ratios: , . Minimum is 3, so leaves; pivot .
Iteration 1: , , .
| Basis | RHS | ||||
|---|---|---|---|---|---|
| 0 | 1 | 1 | |||
| 1 | 0 | 3 | |||
| 0 | 0 | 2 | 12 |
enters; ratio (row 1) and , so leaves; pivot .
Iteration 2: , , .
| Basis | RHS | ||||
|---|---|---|---|---|---|
| 1 | 0 | 2 | 2 | ||
| 0 | 1 | 1 | 2 | ||
| 0 | 0 | 2 | 1 | 14 |
All -row entries are non-negative, so the solution is optimal.
Check: and , so both constraints are satisfied with equality.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2080 Baishakh · 1 mark
Two simultaneous linear equations are given as and .
What is the equation obtained after eliminating x?
a.
b.
c.
d.
Similar questions: Two simultaneous equations are given as x (2082 Baishakh)
Answer
(c)
Multiply the second equation by 2: . Subtract the first equation :
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 1 MCQ
Loading…
- 2083 Baishakh · 1 mark
After forward row reduction in Gauss elimination method, the augmented matrix of given system of three linear equations reduces to following form,
then the system of equations has:
(a) Unique solutions
(b) Infinitely many solutions
(c) No solutions
(d) Only one solution
Answer
(b) Infinitely many solutions
The last row of the reduced augmented matrix is a zero row in the coefficient part with the augmented entry also 0, i.e. it gives . So
Since the ranks are equal but less than the number of unknowns, the system is consistent with a free variable, hence it has infinitely many solutions.
(Note: if the last row had read with , then and the answer would be (c) no solution.)
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 1 MCQ
Loading…
- 2082 Supplementary · 1 mark
Given r and s are the non-negative slack variables then which one of the following is the pivot element from the simplex tableau?
Basic variables x y r s z R.H.S. 4 3 1 0 0 240 2 1 0 1 0 100 0 0 1 0
(a) 1
(b) 2
(c) 3
(d) 4
Answer
(b) 2
The pivot column is the one with the most negative entry in the -row; here that is the -column (entries 4 and 2). The pivot row is chosen by the minimum ratio test: and , so the second row is the pivot row. The pivot element at the intersection of the -column and the second row is 2.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 1 MCQ
Loading…
- 2082 Supplementary · 1 mark
The maximum height attained by a body in projectile motion is for . What is the velocity?
(a)
(b)
(c)
(d)
Answer
For a projectile launched with speed at angle to the horizontal, the maximum height is
Solving for the speed of projection,
If the body is projected vertically upward (), this reduces to . Substitute the given values of and (with ) into this formula and choose the matching option.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2082 Supplementary · 5 marks
Solve the following system of equations by Gauss-Seidel method.
Answer
Gauss–Seidel Method
System to be solved:
Step 1: Check diagonal dominance. In each equation the diagonal coefficient is larger in magnitude than the sum of the other two coefficients (, , ), so the Gauss–Seidel iteration will converge.
Step 2: Rearrange each equation for its diagonal unknown.
Step 3: Start with the initial approximation and use each newly computed value immediately in the next equation.
Iteration 1
Iteration 2
Iteration 3
Summary of iterations
| Iteration | |||
|---|---|---|---|
| 0 | 0 | 0 | 0 |
| 1 | 0.8500 | −1.0275 | 1.0109 |
| 2 | 1.0025 | −0.9998 | 0.9998 |
| 3 | 1.0000 | −1.0000 | 1.0000 |
Verification
Answer: (correct to four decimal places after three iterations).
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2081 Baishakh · 1 mark
In Gauss elimination method, the coefficient of the variables of the element where are known as...
(a) pivot element
(b) common element
(c) non basic element
(d) basic element
Answer
(a) pivot element
In Gauss elimination, the diagonal elements with (i.e. ) are used to eliminate the entries below them, so they are called pivot elements.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 1 MCQ
Loading…
- 2080 Baishakh · 5 marks
Consider a hypothetical economy of two industries A and B represented by the table given below:
Producer User A User B Final Demand Total Output A 500 350 150 1000 B 320 360 120 800
The data are in millions of rupees of products. Determine the output vector of the economy if final demand of A is increased by 10% and the final demand of B is decreased by 10%
Answer
Let the output vector be
and the final demand vector be
1. Technical coefficient matrix
For industry A:
For industry B:
So,
2. New final demand
Original final demand:
A increases by 10%:
B decreases by 10%:
Thus,
3. Leontief input-output equation
Now,
Determinant:
Inverse:
4. Output vector
Therefore, the required output vector is
So, the total output of industry A is approximately Rs 1022.22 million, and the total output of industry B is approximately Rs 791.11 million.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2079 Jestha · 1 mark
Write the Newton-Raphson formula.
Answer
This is the Newton–Raphson iterative formula for finding a root of , where .
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2079 Jestha · 2 marks
Use the bisection method to find a root of in .
Answer
Let . Then and , so a root lies in .
| Step | Midpoint | New interval | |||
|---|---|---|---|---|---|
| 1 | 1 | 2 | 1.5 | ||
| 2 | 1 | 1.5 | 1.25 | ||
| 3 | 1.25 | 1.5 | 1.375 | ||
| 4 | 1.25 | 1.375 | 1.3125 | ||
| 5 | 1.3125 | 1.375 | 1.34375 | ||
| 6 | 1.3125 | 1.34375 | 1.328125 |
The root lies between 1.3125 and 1.3281, so (the exact root is about ).
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2078 · 1 mark
For the system and , which row operation is used in Gauss elimination to remove from the second equation?
(a) eqn (i) + 4 eqn (ii)
(b) eqn (i) + 3 eqn (ii)
(c) eqn (i) + eqn (ii)
(d) eqn (ii) + 3 eqn (i)
Answer
(b) eqn (i) + 3 eqn (ii)
Write (i) and (ii) . Adding 3 times (ii) to (i) gives , i.e. , which removes .
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 1 MCQ
Loading…
- 2078 · 8 marks
State the Trapezoidal rule. Estimate using the Trapezoidal rule with 4 sub-intervals.
OR
Use Simpson's one-third rule to compute and find the error relative to the exact value.
Answer
Trapezoidal rule: For with equal sub-intervals of width and ,
Estimate of , : .
| 1 | 2 | 3 | 4 | 5 | |
|---|---|---|---|---|---|
| 1 | 16 | 81 | 256 | 625 |
(Exact value: , so the trapezoidal estimate overshoots by .)
OR
Simpson's 1/3 rule for : take , , with :
Exact value: .
Error . Simpson's rule is exact for polynomials up to degree 3, so there is no error here.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- NEB Model Question 2079 Mathematics · 1 mark
What is the number of solutions of the system of linear equations and ?
A) One solution
B) No solution
C) Infinite solutions
D) More than one solution
Answer
(b) No solution
The two lines and are parallel (same slope , different intercepts), so they never intersect. Hence the system is inconsistent and has no solution.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 1 MCQ
Loading…
- NEB Model Question 2079 Mathematics · 1 mark
If , then is equal to…
A)
B)
C)
D)
Answer
(d)
Since , applying again gives
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 1 MCQ
Loading…
- NEB Model Question 2079 Mathematics · 8 marks
a) Using matrix methods, solve the following system of linear equations:
, , [4]
b) Apply De-moivre’s theorem to find the value of [2]
c) Prove that [2]
Answer
a) Solving by matrix method
The system is
Write it as (AX=B):
Now,
So the system has a unique solution.
The cofactor matrix is
Hence,
Therefore,
Now,
Hence,
b) Using De Moivre’s theorem
c) Proof
We know the exponential series:
Taking (x=1),
Taking (x=-1),
Therefore,
Hence proved.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
Questions from NEB Class 12 2083 Mathematics (0081 'B') (Board exam, 17 Baisakh 2083; new course), NEB Class 12 2082 Mathematics (0081 'R') (Board exam, Baishakh 2082; new course), NEB Class 12 2082 Supplementary Mathematics (0081 Set B) (Grade-increment/supplementary exam, Set B), NEB Class 12 2081 Mathematics (0081 'W') (Board exam, Baishakh 2081; new course), NEB Class 12 2080 Mathematics (0081 'H') (Board exam, Baishakh 2080; new course), NEB Class 12 2079 Mathematics (0081 Sets K and J) (Board exam, Jestha 2079; first new-curriculum board exam), NEB Model Question 2079 Mathematics (0081) (NEB model paper 2079/2023) and NEB Class 12 2078 Mathematics (0081) (Board exam, 2078 (exact date not stated); new course, 75 marks). Answers are written for this site; check them against your class notes.
Chapter titles and hours from the official syllabus ↗