Use Laplace transform to solve the following system of diffe
Use Laplace transform to solve the following system of differential equations. x\'(t) + 6y\'(t) - y(t) = 1, 8x\'(t) - 2y\'(t) = 0, x(0) = 2, y(0) = 0.
Solution
Use this code to run the solution on matlab:
syms s t x y X Y
f = 1
F = laplace(f,t,s)
X1 = sX - x(0)
Y1 = sY - y(0)
soln = solv(X1+6Y1-Y,8X1-2Y1,\'X\',\'Y\')
X=soln.X
Y=soln.Y
Sol = ilaplace(X,Y,s,t)
