10assgn930.mws

10assgn930.mws
Fri Sep 30 13:45:42 MDT 2005

>    restart;

####################################################################

Using Maple "dsolve" on problem 3.5: 22 (Assignment #10)

First we enter the second-order differential equation:

>    DE := (D@@2)(y)(t) - 3*D(y)(t) + 2*y(t) = 8*t^2 + 12*exp(-t);

DE := `@@`(D,2)(y)(t)-3*D(y)(t)+2*y(t) = 8*t^2+12*exp(-t)

>    VARS := y(t):

Here comes "dsolve" cookling up the general solution:

>    dsolve(DE,VARS);

y(t) = 4*t^2+12*t+14+2*exp(-t)+exp(2*t)*_C1+exp(t)*_C2

Now we loose Maple to handle the whole initial-value problem.

The initial conditions:

>    IC := y(0) = 0, D(y)(0) = 2;

IC := y(0) = 0, D(y)(0) = 2

The initial-value problem prepared for "dsolve":

>    IVP := {DE,IC}:

 

Stand back!

>    dsolve(IVP, VARS);

y(t) = 4*t^2+12*t+14+2*exp(-t)+8*exp(2*t)-24*exp(t)

>    ####################################################################

>   

>   

>   

>   

>