![]()
![]()
Computer
Lab Modules![]()
First Order Linear D. E.'s
Preliminaries. We
wish to solve the first order linear D. E. with a given I. C.
,
the integrating factor is
.
Computer Lab Work.
Exercise 1. Use
Mathematica to solve the first order linear D. E. with the
given I. C.
with
y(0) = 3.
Plot the solution over the interval [0, 3].
First enter the functions p[x] and q[x] and the initial condition.
Construct the integrating factor.
Construct the general solution.
Solve for the constant c.
Form the particular solution from the general solution.
Verify that this is the correct solution to the D. E.
Verify that it has the correct I. V.
Exercise 2. Use
Mathematica to solve the first order linear D. E. with the
given I. C.
with
y(0) = 1.
Plot the solution over the interval [0, 3].
First enter the functions p[x] and q[x] and the initial condition.
Construct the integrating factor.
Construct the general solution.
Solve for the constant.
Form the particular solution from the general solution.
Verify that this is the correct solution to the D. E.
Verify that it has the correct I. V.
Return to the Differential Equations Project
Return to the Numerical Analysis Project
Return to the Complex Analysis Project
(c) John H. Mathews, 1998