Internal
problem
ID
[7199]
Book
:
A
First
Course
in
Differential
Equations
with
Modeling
Applications
by
Dennis
G.
Zill.
12
ed.
Metric
version.
2024.
Cengage
learning.
Section
:
Chapter
2.
First
order
differential
equations.
Section
2.3
Linear
equations.
Exercises
2.3
at
page
63
Problem
number
:
60
Date
solved
:
Wednesday, March 05, 2025 at 04:20:53 AM
CAS
classification
:
[_quadrature]
With initial conditions
ode:=diff(e(t),t) = -1/r/c*e(t); ic:=e(4) = e__0; dsolve([ode,ic],e(t), singsol=all);
ode=D[e[t],t]==-1/(r*c)*e[t]; ic={e[4]==e0}; DSolve[{ode,ic},e[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") c = symbols("c") r = symbols("r") e = Function("e") ode = Eq(Derivative(e(t), t) + e(t)/(c*r),0) ics = {e(4): e__0} dsolve(ode,func=e(t),ics=ics)