Internal
problem
ID
[24379]
Book
:
A
short
course
in
Differential
Equations.
Earl
D.
Rainville.
Second
edition.
1958.
Macmillan
Publisher,
NY.
CAT
58-5010
Section
:
Chapter
2.
Equations
of
the
first
order
and
first
degree.
Exercises
at
page
43
Problem
number
:
29
Date
solved
:
Thursday, October 02, 2025 at 10:22:42 PM
CAS
classification
:
[_quadrature]
With initial conditions
ode:=L*diff(i(t),t)+R*i(t) = e; ic:=[i(0) = 0]; dsolve([ode,op(ic)],i(t), singsol=all);
ode=L*D[i[t],t]+R*i[t]== e; ic={i[0]==0}; DSolve[{ode,ic},i[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") L = symbols("L") R = symbols("R") e = symbols("e") i = Function("i") ode = Eq(L*Derivative(i(t), t) + R*i(t) - e,0) ics = {i(0): 0} dsolve(ode,func=i(t),ics=ics)