For the following equations, what is the value of x$_{2}$ using Gaussian elimination method?
x$_{1}$-x$_{2}$+3x$_{3}$=10——– (i)
5x$_{2}$-5x$_{3}$=-5———— (ii)
-7x$_{3}$=-28 —————- (iii)
A. 1
B. 2
C. 3
D. 4
Answer: c
Explanation: From the 3$^{rd}$ equation it’s seen that x$_{3}$=\(\frac{-28}{-7}\)=4. Using x$_{3}$ in 2$^{nd}$ equation we get
5*x$_{2}$-5*4=-5
5*x$_{2}$=15
x$_{2}$=3