Module for the Method of Variation of Parameters

Numerical Methods for O. D. E.  using Mathematica. (c) John H. Mathews, 2003

Background.

    Use Mathematica to implement the method of undetermined coefficients to find the general solution to the following differential equations. Then find the solution to the D. E. with the given initial conditions and plot it.

Example 1. (a) Use the method of variation of parameters to find the general solution to the D. E.  

    [Graphics:Images/VariationParametersMod_gr_1.gif].  

Example 1. (b)  Find the solution  with the I.C.'s  

    [Graphics:Images/VariationParametersMod_gr_2.gif],  

and plot this solution over the intervals  [Graphics:Images/VariationParametersMod_gr_3.gif] and  [Graphics:Images/VariationParametersMod_gr_4.gif].  

Solution 1.

Example 2. (a)  Use the method of variation of parameters to find the general solution to the D. E.  

    [Graphics:Images/VariationParametersMod_gr_88.gif]

Example 2. (b)  Find the solution  with the I.C.'s  

    [Graphics:Images/VariationParametersMod_gr_89.gif],  

and plot this solution over the interval  [Graphics:Images/VariationParametersMod_gr_90.gif].

Solution 2.

Research Experience for Undergraduates


Converted by Mathematica      January 28, 2003