Question 1
Using MATLAB solve the following system of linear simultaneous
equations
3x + 2y - z = 10........... [1]
-x + 3y + 2z = 5........... [2]
x - y - z = -1 .................[3]
s + 2t - 3u + 4v = 12........... [1]
2s + 2t - 2u + 3v = 10......... [2]
t + u = -1............................ [3]
s - t + u - 2v = -4................ [4]
($4.6 Variation of Parameters): Solve the equations (a)–(c)
using method of variation of parameters.
(a) y''-6y+9y=8xe^3x
(b) y''-2y'+2y=e^x (secx)
(c) y''-2y'+y= (e^x)/x