24.6 problem 7(c)

Internal problem ID [5751]

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(c).
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} \sin \left (\omega t \right )=0} \end {gather*} With initial conditions \begin {align*} [i \relax (0) = 0] \end {align*}

Solution by Maple

Time used: 0.031 (sec). Leaf size: 45

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

\[ i \relax (t ) = \frac {E_{0} \left ({\mathrm e}^{-\frac {R t}{L}} \omega L -L \cos \left (\omega t \right ) \omega +\sin \left (\omega t \right ) R \right )}{\omega ^{2} L^{2}+R^{2}} \]

Solution by Mathematica

Time used: 0.166 (sec). Leaf size: 47

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

\begin{align*} i(t)\to \frac {\text {E0} \left (L \omega e^{-\frac {R t}{L}}-L \omega \cos (t \omega )+R \sin (t \omega )\right )}{L^2 \omega ^2+R^2} \\ \end{align*}