>> From: Robert Israel
> des:= {diff(y(t),t) = 2*y(t)-4*z(t),diff(z(t),t)=y(t)-3*z(t)};
ics:= {y(0)=3,z(0)=0};
Then you can solve it in one step:
> dsolve(des union ics, {y(t),z(t)});
Or if you want to follow your steps using the Laplace transform:
> with(inttrans):
laplace(des,t,s);
subs(ics,%);
solve(%,{laplace(y(t),t,s),laplace(z(t),t,s)});
invlaplace(%,s,t);
{z(t) = exp(t) - exp(-2 t), y(t) = -exp(-2 t) + 4 exp(t)}
Robert Israel
Department of Mathematics http://www.math.ubc.ca/~israel
University of British Columbia
Vancouver, BC, Canada V6T 1Z2
On Thu, 23 Nov 2000, Chuck Baker wrote:
| I derived solutions by hand by first taking the Laplace transforms of
| the differential equations, then, I solved the simultaneous equations
| for Y(s) and Z(s). Finally, I determined the inverse transforms to
| develop the solution expressions y(t) and z(t).
|
| How can this process be written in Maple?
|