In: Electrical Engineering
Solve the following system :
w ′ + y = sin x
y ′ − z = ex
z ′ + w + y = 1;
w(0) = 0, y(0) = 1, z(0) = 1
The solution is as follow-
Sample MATLAB Code:
syms t s;
z=ilaplace(((-3)*((s)^3)-s+1+2*(s)^2+(s)^4
)/((s-1)*(s^2+1)*(s^3-2*(s^2-s)-1)));
pretty(z)