Skip to main content

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 Z=3x+2yZ = 3x + 2y subject to x+y≤4x + y \leq 4, x+2y≤6x + 2y \leq 6, x≥0x \geq 0, y≥0y \geq 0.

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 Z=3x+2yZ=3x+2y subject to x+y≤4, x+2y≤6, x,y≥0x+y\le4,\ x+2y\le6,\ x,y\ge0.

Standard form. Add slack variables s1,s2≥0s_1,s_2\ge0: x+y+s1=4,x+2y+s2=6,Z−3x−2y=0.x+y+s_1=4,\qquad x+2y+s_2=6,\qquad Z-3x-2y=0.

Initial tableau

Basisxxyys1s_1s2s_2RHSRatio
s1s_1111044
s2s_2120166
ZZ−3−2000

The most negative entry is −3-3, so xx enters. The minimum ratio is 44, so s1s_1 leaves; the pivot is 11.

Iteration 1: R2→R2−R1R_2\to R_2-R_1,  Z→Z+3R1\ Z\to Z+3R_1.

Basisxxyys1s_1s2s_2RHS
xx11104
s2s_201−112
ZZ013012

All entries in the ZZ-row are non-negative, so the solution is optimal.

x=4,y=0,Zmax⁡=12x=4,\quad y=0,\quad \boxed{Z_{\max}=12}

Check: the corner points (0,0),(4,0),(2,2),(0,3)(0,0),(4,0),(2,2),(0,3) give Z=0,12,10,6Z=0,12,10,6.

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 Z=3x+5yZ=3x+5y subject to x≤4, 2y≤12, 3x+2y≤18, x,y≥0x\le4,\ 2y\le12,\ 3x+2y\le18,\ x,y\ge0.

Step 1: Standard form. Introduce slack variables s1,s2,s3≥0s_1,s_2,s_3\ge0:

x+s1=4,2y+s2=12,3x+2y+s3=18,Z−3x−5y=0x+s_1=4,\quad 2y+s_2=12,\quad 3x+2y+s_3=18,\quad Z-3x-5y=0

Step 2: Initial tableau.

Basisbbxxyys1s_1s2s_2s3s_3Ratio
s1s_1410100–
s2s_212020106
s3s_318320019
Z=0Z=0−3−5000

The most negative entry is −5-5, so yy enters; the minimum ratio is 66, so s2s_2 leaves. The pivot is 22.

Step 3: Iteration 1. R2→R2/2R_2\to R_2/2, R3→R3−2R2R_3\to R_3-2R_2, Z→Z+5R2Z\to Z+5R_2.

Basisbbxxyys1s_1s2s_2s3s_3Ratio
s1s_14101004
yy60101/20–
s3s_36300−112
Z=30Z=30−3005/20

Now xx enters; the minimum ratio is 22, so s3s_3 leaves. The pivot is 33.

Step 4: Iteration 2. R3→R3/3R_3\to R_3/3, R1→R1−R3R_1\to R_1-R_3, Z→Z+3R3Z\to Z+3R_3.

Basisbbxxyys1s_1s2s_2s3s_3
s1s_120011/3−1/3
yy60101/20
xx2100−1/31/3
Z=36Z=360003/21

All ZZ-row entries are non-negative, so the solution is optimal:

x=2,y=6,Zmax⁡=3(2)+5(6)=36.x=2,\quad y=6,\quad Z_{\max}=3(2)+5(6)=36.

Check: x=2≤4x=2\le4, 2y=12≤122y=12\le12, 3x+2y=18≤183x+2y=18\le18.

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 Z=3x1+2x2Z = 3x_1 + 2x_2 subject to x1+x2≤4x_1 + x_2 \le 4, x1−x2≤2x_1 - x_2 \le 2, x1,x2≥0x_1, x_2 \ge 0.

Standard form. Add slack variables: x1+x2+s1=4x_1 + x_2 + s_1 = 4, x1−x2+s2=2x_1 - x_2 + s_2 = 2.

Initial table

Basisx1x_1x2x_2s1s_1s2s_2bb
s1s_111104
s2s_21−1-1012
Cj−ZjC_j - Z_j3200

x1x_1 enters (largest positive Cj−Zj=3C_j - Z_j = 3). Ratios: 4/1=44/1 = 4, 2/1=22/1 = 2, so s2s_2 leaves; pivot =1= 1.

Iteration 1: R1→R1−R2R_1 \to R_1 - R_2.

Basisx1x_1x2x_2s1s_1s2s_2bb
s1s_1021−1-12
x1x_11−1-1012
Cj−ZjC_j - Z_j050−3-3

x2x_2 enters. Only row 1 has a positive entry: 2/2=12/2 = 1, so s1s_1 leaves; pivot =2= 2.

Iteration 2: R1→R1/2R_1 \to R_1/2, R2→R2+R1R_2 \to R_2 + R_1.

Basisx1x_1x2x_2s1s_1s2s_2bb
x2x_2011/21/2−1/2-1/21
x1x_1101/21/21/21/23
Cj−ZjC_j - Z_j00−5/2-5/2−1/2-1/2

All Cj−Zj≤0C_j - Z_j \le 0, so the solution is optimal:

x1=3,x2=1,Zmax⁡=3(3)+2(1)=11.x_1 = 3,\quad x_2 = 1,\quad Z_{\max} = 3(3) + 2(1) = 11.

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 Z=7x+5yZ = 7x + 5y subject to x+2y≤6x + 2y \le 6, 4x+3y≤124x + 3y \le 12, x≥0x \ge 0, y≥0y \ge 0.

Similar questions: Using simplex method maximize Z = 3x (2081 Baishakh) · Use simplex method to solve maximize subject (2083 Baishakh)

Answer

Maximize Z=7x+5yZ=7x+5y subject to x+2y≤6, 4x+3y≤12, x,y≥0x+2y\le6,\ 4x+3y\le12,\ x,y\ge0.

Standard form: add slack variables s1,s2≥0s_1,s_2\ge0: x+2y+s1=6,4x+3y+s2=12,Z−7x−5y=0.x+2y+s_1=6,\qquad 4x+3y+s_2=12,\qquad Z-7x-5y=0.

Initial tableau

Basisxxyys1s_1s2s_2RHSRatio
s1s_1121066
s2s_24301123 (min)
ZZ−7-7−5-5000

The most negative entry in the ZZ-row is −7-7, so xx enters. The minimum ratio is in row s2s_2, so s2s_2 leaves; the pivot is 4.

Iteration 1: R2→R2/4R_2\to R_2/4; R1→R1−R2R_1\to R_1-R_2; RZ→RZ+7R2R_Z\to R_Z+7R_2.

Basisxxyys1s_1s2s_2RHS
s1s_1054\frac541−14-\frac143
xx134\frac34014\frac143
ZZ014\frac14074\frac7421

All entries in the ZZ-row are non-negative, so the solution is optimal.

Result: x=3, y=0x=3,\ y=0, maximum Z=7(3)+5(0)=21Z=7(3)+5(0)=21.

Check at the other corners: (0,3)(0,3) gives 1515, (65,125)\left(\frac65,\frac{12}5\right) gives 20.420.4, (0,0)(0,0) gives 00; all are below 2121.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2082 Baishakh · 1 mark

Two simultaneous equations are given as x+y=5x + y = 5 and 2x−y=12x - y = 1. What is the equation after eliminating yy? (a) 3x=63x = 6 (b) x=4x = 4 (c) 3x=43x = 4 (d) x=6x = 6

Similar questions: Two simultaneous linear equations are given as (2080 Baishakh)

Answer

(a) 3x=63x = 6

Adding the two equations eliminates yy: (x+y)+(2x−y)=5+1(x+y)+(2x-y)=5+1, so 3x=63x=6.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 1 MCQ

Loading…

  • 2082 Baishakh · 5 marks

Using simplex method, maximize Z=3x+4yZ = 3x + 4y subject to constraint x+y≤4x + y \leq 4, x+2y≤6x + 2y \leq 6, x≥0x \geq 0, y≥0y \geq 0.

Similar questions: Using simplex method maximize Z = 3x (2081 Baishakh)

Answer

Maximize Z=3x+4yZ = 3x + 4y subject to x+y≤4x + y \le 4, x+2y≤6x + 2y \le 6, x,y≥0x, y \ge 0.

Standard form. Add slack variables s1,s2s_1, s_2: x+y+s1=4x + y + s_1 = 4, x+2y+s2=6x + 2y + s_2 = 6, Z−3x−4y=0Z - 3x - 4y = 0.

Initial table

Basisxxyys1s_1s2s_2RHS
s1s_111104
s2s_212016
ZZ−3-3−4-4000

Most negative entry in the ZZ-row is −4-4, so yy enters. Ratios: 4/1=44/1 = 4, 6/2=36/2 = 3. Minimum is 3, so s2s_2 leaves; pivot =2= 2.

Iteration 1: R2→R2/2R_2 \to R_2/2, R1→R1−R2R_1 \to R_1 - R_2, Z→Z+4R2Z \to Z + 4R_2.

Basisxxyys1s_1s2s_2RHS
s1s_11/21/201−1/2-1/21
yy1/21/2101/21/23
ZZ−1-100212

xx enters; ratio 1/(1/2)=21/(1/2) = 2 (row 1) and 3/(1/2)=63/(1/2) = 6, so s1s_1 leaves; pivot =1/2= 1/2.

Iteration 2: R1→2R1R_1 \to 2R_1, R2→R2−12R1R_2 \to R_2 - \tfrac12 R_1, Z→Z+R1Z \to Z + R_1.

Basisxxyys1s_1s2s_2RHS
xx102−1-12
yy01−1-112
ZZ002114

All ZZ-row entries are non-negative, so the solution is optimal.

x=2,y=2,Zmax⁡=3(2)+4(2)=14.x = 2,\quad y = 2,\quad Z_{\max} = 3(2) + 4(2) = 14.

Check: 2+2=42+2 = 4 and 2+4=62+4 = 6, 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 2x+y=52x + y = 5 and x+4y=6x + 4y = 6. What is the equation obtained after eliminating x? a. 7y=57y = 5 b. 7y=67y = 6 c. 7y=77y = 7 d.

Similar questions: Two simultaneous equations are given as x (2082 Baishakh)

Answer

(c) 7y=77y = 7

Multiply the second equation by 2: 2x+8y=122x + 8y = 12. Subtract the first equation 2x+y=52x + y = 5:

(2x+8y)−(2x+y)=12−5  ⇒  7y=7.(2x + 8y) - (2x + y) = 12 - 5 \;\Rightarrow\; 7y = 7.

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 0=00 = 0. So

rank(A)=rank([A∣B])=2<3 (number of unknowns)\text{rank}(A) = \text{rank}([A|B]) = 2 < 3 \ (\text{number of unknowns})

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 0  0  0 ∣ k0\ \ 0\ \ 0\ |\ k with k≠0k \neq 0, then rank(A)≠rank([A∣B])\text{rank}(A) \neq \text{rank}([A|B]) 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 variablesxyrszR.H.S.
43100240
21010100
0010
(a) 1 (b) 2 (c) 3 (d) 4

Answer

(b) 2

The pivot column is the one with the most negative entry in the zz-row; here that is the xx-column (entries 4 and 2). The pivot row is chosen by the minimum ratio test: 2404=60\frac{240}{4}=60 and 1002=50\frac{100}{2}=50, so the second row is the pivot row. The pivot element at the intersection of the xx-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 uu at angle θ\theta to the horizontal, the maximum height is

H=u2sin⁡2θ2g.H = \frac{u^2 \sin^2\theta}{2g}.

Solving for the speed of projection,

u=2gHsin⁡θ.u = \frac{\sqrt{2gH}}{\sin\theta}.

If the body is projected vertically upward (θ=90∘\theta = 90^\circ), this reduces to u=2gHu = \sqrt{2gH}. Substitute the given values of HH and θ\theta (with g=9.8 m/s2g = 9.8\ \text{m/s}^2) 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:

20x+y−2z=1720x + y - 2z = 17 3x+20y−z=−183x + 20y - z = -18 2x−3y+20z=252x - 3y + 20z = 25

Step 1: Check diagonal dominance. In each equation the diagonal coefficient is larger in magnitude than the sum of the other two coefficients (20>1+220 > 1+2, 20>3+120 > 3+1, 20>2+320 > 2+3), so the Gauss–Seidel iteration will converge.

Step 2: Rearrange each equation for its diagonal unknown.

x=17−y+2z20,y=−18−3x+z20,z=25−2x+3y20x = \frac{17 - y + 2z}{20}, \qquad y = \frac{-18 - 3x + z}{20}, \qquad z = \frac{25 - 2x + 3y}{20}

Step 3: Start with the initial approximation x(0)=0,  y(0)=0,  z(0)=0x^{(0)} = 0,\; y^{(0)} = 0,\; z^{(0)} = 0 and use each newly computed value immediately in the next equation.

Iteration 1

x(1)=17−0+020=0.8500x^{(1)} = \frac{17 - 0 + 0}{20} = 0.8500 y(1)=−18−3(0.8500)+020=−20.550020=−1.0275y^{(1)} = \frac{-18 - 3(0.8500) + 0}{20} = \frac{-20.5500}{20} = -1.0275 z(1)=25−2(0.8500)+3(−1.0275)20=20.217520=1.0109z^{(1)} = \frac{25 - 2(0.8500) + 3(-1.0275)}{20} = \frac{20.2175}{20} = 1.0109

Iteration 2

x(2)=17−(−1.0275)+2(1.0109)20=20.049320=1.0025x^{(2)} = \frac{17 - (-1.0275) + 2(1.0109)}{20} = \frac{20.0493}{20} = 1.0025 y(2)=−18−3(1.0025)+1.010920=−19.996620=−0.9998y^{(2)} = \frac{-18 - 3(1.0025) + 1.0109}{20} = \frac{-19.9966}{20} = -0.9998 z(2)=25−2(1.0025)+3(−0.9998)20=19.995620=0.9998z^{(2)} = \frac{25 - 2(1.0025) + 3(-0.9998)}{20} = \frac{19.9956}{20} = 0.9998

Iteration 3

x(3)=17−(−0.9998)+2(0.9998)20=19.999420=1.0000x^{(3)} = \frac{17 - (-0.9998) + 2(0.9998)}{20} = \frac{19.9994}{20} = 1.0000 y(3)=−18−3(1.0000)+0.999820=−20.000220=−1.0000y^{(3)} = \frac{-18 - 3(1.0000) + 0.9998}{20} = \frac{-20.0002}{20} = -1.0000 z(3)=25−2(1.0000)+3(−1.0000)20=20.000020=1.0000z^{(3)} = \frac{25 - 2(1.0000) + 3(-1.0000)}{20} = \frac{20.0000}{20} = 1.0000

Summary of iterations

Iterationxxyyzz
0000
10.8500−1.02751.0109
21.0025−0.99980.9998
31.0000−1.00001.0000

Verification

20(1)+(−1)−2(1)=17✓20(1) + (-1) - 2(1) = 17 \checkmark 3(1)+20(−1)−1=−18✓3(1) + 20(-1) - 1 = -18 \checkmark 2(1)−3(−1)+20(1)=25✓2(1) - 3(-1) + 20(1) = 25 \checkmark

Answer: x=1,  y=−1,  z=1x = 1,\; y = -1,\; z = 1 (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 aija_{ij} where i=ji = j 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 aija_{ij} with i=ji=j (i.e. a11,a22,a33,…a_{11}, a_{22}, a_{33}, \dots) 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:
ProducerUser AUser BFinal DemandTotal Output
A5003501501000
B320360120800
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
X=[xAxB]X=\begin{bmatrix}x_A\\x_B\end{bmatrix} and the final demand vector be
D=[dAdB].D=\begin{bmatrix}d_A\\d_B\end{bmatrix}.

1. Technical coefficient matrix

For industry A: aAA=5001000=0.5,aAB=350800=0.4375a_{AA}=\frac{500}{1000}=0.5,\qquad a_{AB}=\frac{350}{800}=0.4375

For industry B: aBA=3201000=0.32,aBB=360800=0.45a_{BA}=\frac{320}{1000}=0.32,\qquad a_{BB}=\frac{360}{800}=0.45

So,

A=[0.50.43750.320.45]A=\begin{bmatrix} 0.5 & 0.4375\\ 0.32 & 0.45 \end{bmatrix}

2. New final demand

Original final demand: dA=150,dB=120d_A=150,\qquad d_B=120

A increases by 10%: dA′=150(1+10100)=165d_A'=150\left(1+\frac{10}{100}\right)=165

B decreases by 10%: dB′=120(1−10100)=108d_B'=120\left(1-\frac{10}{100}\right)=108

Thus, D′=[165108]D'=\begin{bmatrix}165\\108\end{bmatrix}

3. Leontief input-output equation

(I−A)X=D′(I-A)X=D'

Now,

I−A=[1−0.5−0.4375−0.321−0.45]=[0.5−0.4375−0.320.55]I-A=\begin{bmatrix} 1-0.5 & -0.4375\\ -0.32 & 1-0.45 \end{bmatrix} = \begin{bmatrix} 0.5 & -0.4375\\ -0.32 & 0.55 \end{bmatrix}

Determinant: ∣I−A∣=(0.5)(0.55)−(−0.4375)(−0.32)|I-A|=(0.5)(0.55)-(-0.4375)(-0.32) =0.275−0.14=0.135=0.275-0.14=0.135

Inverse:

(I−A)−1=10.135[0.550.43750.320.5](I-A)^{-1}=\frac{1}{0.135} \begin{bmatrix} 0.55 & 0.4375\\ 0.32 & 0.5 \end{bmatrix}

4. Output vector

X=(I−A)−1D′X=(I-A)^{-1}D'

X=10.135[0.550.43750.320.5][165108]X=\frac{1}{0.135} \begin{bmatrix} 0.55 & 0.4375\\ 0.32 & 0.5 \end{bmatrix} \begin{bmatrix} 165\\ 108 \end{bmatrix} X=10.135[0.55(165)+0.4375(108)0.32(165)+0.5(108)]X=\frac{1}{0.135} \begin{bmatrix} 0.55(165)+0.4375(108)\\ 0.32(165)+0.5(108) \end{bmatrix} X=10.135[90.75+47.2552.8+54]X=\frac{1}{0.135} \begin{bmatrix} 90.75+47.25\\ 52.8+54 \end{bmatrix} X=10.135[138106.8]X=\frac{1}{0.135} \begin{bmatrix} 138\\ 106.8 \end{bmatrix} X=[1022.22791.11]X= \begin{bmatrix} 1022.22\\ 791.11 \end{bmatrix}

Therefore, the required output vector is

X=[1022.22791.11]\boxed{X=\begin{bmatrix}1022.22\\791.11\end{bmatrix}}

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

xn+1=xn−f(xn)f′(xn)x_{n+1} = x_n - \dfrac{f(x_n)}{f'(x_n)}

This is the Newton–Raphson iterative formula for finding a root of f(x)=0f(x)=0, where f′(xn)≠0f'(x_n)\neq 0.

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 x3−x−1=0x^3 - x - 1 = 0 in [1,2][1,2].

Answer

Let f(x)=x3−x−1f(x) = x^3 - x - 1. Then f(1)=−1<0f(1) = -1 < 0 and f(2)=5>0f(2) = 5 > 0, so a root lies in [1,2][1, 2].

StepaabbMidpoint ccf(c)f(c)New interval
1121.5+0.875+0.875[1,1.5][1, 1.5]
211.51.25−0.297-0.297[1.25,1.5][1.25, 1.5]
31.251.51.375+0.225+0.225[1.25,1.375][1.25, 1.375]
41.251.3751.3125−0.052-0.052[1.3125,1.375][1.3125, 1.375]
51.31251.3751.34375+0.083+0.083[1.3125,1.34375][1.3125, 1.34375]
61.31251.343751.328125+0.015+0.015[1.3125,1.328125][1.3125, 1.328125]

The root lies between 1.3125 and 1.3281, so x≈1.32x \approx 1.32 (the exact root is about 1.32471.3247).

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2078 · 1 mark

For the system 3x+4y=183x + 4y = 18 and 3y−x=73y - x = 7, which row operation is used in Gauss elimination to remove xx 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) 3x+4y=183x+4y=18 and (ii) −x+3y=7-x+3y=7. Adding 3 times (ii) to (i) gives (3x−3x)+(4y+9y)=18+21(3x-3x)+(4y+9y)=18+21, i.e. 13y=3913y=39, which removes xx.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 1 MCQ

Loading…

  • 2078 · 8 marks

State the Trapezoidal rule. Estimate ∫15x4 dx\int_1^5 x^4\,dx using the Trapezoidal rule with 4 sub-intervals.
OR
Use Simpson's one-third rule to compute ∫02(3x+1) dx\int_0^2 (3x+1)\,dx and find the error relative to the exact value.

Answer

Trapezoidal rule: For ∫abf(x) dx\int_a^b f(x)\,dx with nn equal sub-intervals of width h=b−anh=\dfrac{b-a}{n} and yi=f(a+ih)y_i=f(a+ih), ∫abf(x) dx≈h2[y0+2(y1+y2+⋯+yn−1)+yn].\int_a^b f(x)\,dx\approx\frac h2\left[y_0+2(y_1+y_2+\cdots+y_{n-1})+y_n\right].

Estimate of ∫15x4 dx\int_1^5x^4\,dx, n=4n=4: h=5−14=1h=\dfrac{5-1}{4}=1.

xx12345
y=x4y=x^411681256625

∫15x4 dx≈12[1+625+2(16+81+256)]=12[626+706]=666.\int_1^5x^4\,dx\approx\frac12\left[1+625+2(16+81+256)\right]=\frac12[626+706]=666.

(Exact value: 55−15=624.8\dfrac{5^5-1}{5}=624.8, so the trapezoidal estimate overshoots by 41.241.2.)

OR

Simpson's 1/3 rule for ∫02(3x+1) dx\int_0^2(3x+1)\,dx: take n=2n=2, h=1h=1, with y0=f(0)=1, y1=f(1)=4, y2=f(2)=7y_0=f(0)=1,\ y_1=f(1)=4,\ y_2=f(2)=7: ∫02(3x+1) dx≈h3[y0+4y1+y2]=13[1+16+7]=8.\int_0^2(3x+1)\,dx\approx\frac h3\left[y_0+4y_1+y_2\right]=\frac13[1+16+7]=8.

Exact value: [3x22+x]02=6+2=8\left[\dfrac{3x^2}{2}+x\right]_0^2=6+2=8.

Error =8−8=0=8-8=0. 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 x+y=5x + y = 5 and x+y=7x + y = 7? A) One solution B) No solution C) Infinite solutions D) More than one solution

Answer

(b) No solution

The two lines x+y=5x + y = 5 and x+y=7x + y = 7 are parallel (same slope −1-1, 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 Δyt=yt+1−yt\Delta y_t = y_{t+1} - y_t, then Δ2yt\Delta^2 y_t is equal to… A) yt+2−yt+1y_{t+2} - y_{t+1} B) yt+1−yty_{t+1} - y_t C) yt+2−yt+1+yty_{t+2} - y_{t+1} + y_t D) yt+2−2yt+1+yty_{t+2} - 2y_{t+1} + y_t

Answer

(d) yt+2−2yt+1+yty_{t+2} - 2y_{t+1} + y_t

Since Δyt=yt+1−yt\Delta y_t = y_{t+1} - y_t, applying Δ\Delta again gives Δ2yt=Δ(yt+1−yt)=(yt+2−yt+1)−(yt+1−yt)=yt+2−2yt+1+yt.\Delta^2 y_t = \Delta(y_{t+1} - y_t) = (y_{t+2} - y_{t+1}) - (y_{t+1} - y_t) = y_{t+2} - 2y_{t+1} + y_t.

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: x+y+z=4x + y + z = 4, 2x+y−3z=−92x + y - 3z = -9, 2x−y+z=−12x - y + z = -1 [4] b) Apply De-moivre’s theorem to find the value of 2(cos⁡15∘+isin⁡15∘)62(\cos 15^\circ + i \sin 15^\circ)^6 [2] c) Prove that (1+11!+12!+13!+… )(1−11!+12!−13!+… )=1(1 + \frac{1}{1!} + \frac{1}{2!} + \frac{1}{3!} + \dots)(1 - \frac{1}{1!} + \frac{1}{2!} - \frac{1}{3!} + \dots) = 1 [2]

Answer

a) Solving by matrix method

The system is

x+y+z=4,2x+y−3z=−9,2x−y+z=−1.x+y+z=4,\qquad 2x+y-3z=-9,\qquad 2x-y+z=-1.

Write it as (AX=B):

A=(11121−32−11),X=(xyz),B=(4−9−1).A=\begin{pmatrix} 1&1&1\\ 2&1&-3\\ 2&-1&1 \end{pmatrix},\quad X=\begin{pmatrix}x\\y\\z\end{pmatrix},\quad B=\begin{pmatrix}4\\-9\\-1\end{pmatrix}.

Now,

det⁡A=1(1⋅1−(−3)(−1))−1(2⋅1−(−3)⋅2)+1(2(−1)−1⋅2)=−14≠0.\det A =1(1\cdot1-(-3)(-1))-1(2\cdot1-(-3)\cdot2)+1(2(-1)-1\cdot2) =-14\ne0.

So the system has a unique solution.

The cofactor matrix is

C=(−2−8−4−2−13−45−1).C=\begin{pmatrix} -2&-8&-4\\ -2&-1&3\\ -4&5&-1 \end{pmatrix}.

Hence,

adj⁡A=CT=(−2−2−4−8−15−43−1).\operatorname{adj}A=C^T= \begin{pmatrix} -2&-2&-4\\ -8&-1&5\\ -4&3&-1 \end{pmatrix}.

Therefore,

A−1=adj⁡Adet⁡A=(17172747114−51427−314114).A^{-1}=\frac{\operatorname{adj}A}{\det A} = \begin{pmatrix} \frac17&\frac17&\frac27\\[2mm] \frac47&\frac1{14}&-\frac5{14}\\[2mm] \frac27&-\frac3{14}&\frac1{14} \end{pmatrix}.

Now,

X=A−1B=(17172747114−51427−314114)(4−9−1)=(−123).X=A^{-1}B = \begin{pmatrix} \frac17&\frac17&\frac27\\[2mm] \frac47&\frac1{14}&-\frac5{14}\\[2mm] \frac27&-\frac3{14}&\frac1{14} \end{pmatrix} \begin{pmatrix}4\\-9\\-1\end{pmatrix} = \begin{pmatrix}-1\\2\\3\end{pmatrix}.

Hence,

x=−1,y=2,z=3.\boxed{x=-1,\quad y=2,\quad z=3}.

b) Using De Moivre’s theorem

2(cos⁡15∘+isin⁡15∘)6=2(cos⁡(6⋅15∘)+isin⁡(6⋅15∘))2(\cos15^\circ+i\sin15^\circ)^6 =2(\cos(6\cdot15^\circ)+i\sin(6\cdot15^\circ)) =2(cos⁡90∘+isin⁡90∘)=2(0+i)=2i.=2(\cos90^\circ+i\sin90^\circ) =2(0+i) =2i. 2(cos⁡15∘+isin⁡15∘)6=2i\boxed{2(\cos15^\circ+i\sin15^\circ)^6=2i}

c) Proof

We know the exponential series:

ex=1+x1!+x22!+x33!+⋯e^x=1+\frac{x}{1!}+\frac{x^2}{2!}+\frac{x^3}{3!}+\cdots

Taking (x=1),

1+11!+12!+13!+⋯=e.1+\frac1{1!}+\frac1{2!}+\frac1{3!}+\cdots=e.

Taking (x=-1),

1−11!+12!−13!+⋯=e−1.1-\frac1{1!}+\frac1{2!}-\frac1{3!}+\cdots=e^{-1}.

Therefore,

(1+11!+12!+13!+⋯ )(1−11!+12!−13!+⋯ )=e⋅e−1=e0=1.\left(1+\frac1{1!}+\frac1{2!}+\frac1{3!}+\cdots\right) \left(1-\frac1{1!}+\frac1{2!}-\frac1{3!}+\cdots\right) =e\cdot e^{-1}=e^0=1. 1\boxed{1}

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 ↗