24.4 problem 7(a)

Internal problem ID [5749]

Book: Differential Equations: Theory, Technique, and Practice by George Simmons, Steven Krantz. McGraw-Hill NY. 2007. 1st Edition.
Section: Chapter 7. Laplace Transforms. Section 7.5 The Unit Step and Impulse Functions. Page 303
Problem number: 7(a).
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [[_linear, class A]]

Solve \begin {gather*} \boxed {L i^{\prime }+R i-E_{0} \theta \relax (t )=0} \end {gather*} With initial conditions \begin {align*} [i \relax (0) = 0] \end {align*}

Solution by Maple

Time used: 0.104 (sec). Leaf size: 22

dsolve([L*diff(i(t),t)+R*i(t)=E__0*Heaviside(t),i(0) = 0],i(t), singsol=all)
 

\[ i \relax (t ) = -\frac {E_{0} \theta \relax (t ) \left ({\mathrm e}^{-\frac {R t}{L}}-1\right )}{R} \]

Solution by Mathematica

Time used: 0.073 (sec). Leaf size: 25

DSolve[{L*i'[t]+R*i[t]==E0*UnitStep[t],{i[0]==0}},i[t],t,IncludeSingularSolutions -> True]
 

\begin{align*} i(t)\to \frac {\text {E0} \theta (t) \left (1-e^{-\frac {R t}{L}}\right )}{R} \\ \end{align*}