Internal
problem
ID
[8883]
Book
:
An
introduction
to
Ordinary
Differential
Equations.
Earl
A.
Coddington.
Dover.
NY
1961
Section
:
Chapter
1.6
Introduction–
Linear
equations
of
First
Order.
Page
41
Problem
number
:
3
Date
solved
:
Tuesday, September 30, 2025 at 05:58:53 PM
CAS
classification
:
[_quadrature]
With initial conditions
ode:=L*diff(y(x),x)+R*y(x) = E; ic:=[y(0) = 0]; dsolve([ode,op(ic)],y(x), singsol=all);
ode=L*D[y[x],x]+R*y[x]==e0; ic={y[0]==0}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") E = symbols("E") L = symbols("L") R = symbols("R") y = Function("y") ode = Eq(L*Derivative(y(x), x) + R*y(x) - E,0) ics = {} dsolve(ode,func=y(x),ics=ics)