>
template5.mws
> restart;
This worksheet contains a general outline that should be useful in the search for a general solution to an nonhomogeneous linear ODE with constant coefficients and for the determination of the solution to an initial value problem for such an equation.
> with( DEtools ):
> with( plots ):
>
Step 0: Specify the Nonhomogeneous Problem
Step 1: General Solution to Homogeneous Equation ( )
Step 2: Any Solution to Nonhomogeneous Equation ( )
Step 3: General Solution to Nonhomogeneous Equation
Step 4: Solution to Initial Value Problem (optional)
Compare with Direct Solution via dsolve