Internal
problem
ID
[21963]
Book
:
Differential
Equations
By
Kaj
L.
Nielsen.
Second
edition
1966.
Barnes
and
nobel.
66-28306
Section
:
Chapter
III.
First
order
differential
equations
of
the
first
degree.
Ex.
X
at
page
57
Problem
number
:
5
Date
solved
:
Thursday, October 02, 2025 at 08:20:13 PM
CAS
classification
:
[_quadrature]
With initial conditions
ode:=R*diff(q(t),t)+1/c*q(t) = E; ic:=[q(0) = 0]; dsolve([ode,op(ic)],q(t), singsol=all);
ode=R*D[q[t],t]+1/c*q[t]==e; ic={q[0]==0}; DSolve[{ode,ic},q[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") R = symbols("R") E = symbols("E") c = symbols("c") q = Function("q") ode = Eq(R*Derivative(q(t), t) - E + q(t)/c,0) ics = {q(0): 0} dsolve(ode,func=q(t),ics=ics)