Internal
problem
ID
[3169]
Book
:
Differential
Equations
by
Alfred
L.
Nelson,
Karl
W.
Folley,
Max
Coral.
3rd
ed.
DC
heath.
Boston.
1964
Section
:
Exercise
20,
page
90
Problem
number
:
25
Date
solved
:
Tuesday, March 04, 2025 at 04:04:37 PM
CAS
classification
:
[_linear]
ode:=diff(y(x),x)+P(x)*y(x) = Q(x); dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]+p[x]*y[x]==q[x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") [ = Function("[") p = Function("p") , = Function(",") q = Function("q") ] = Function("]") ode = Eq(p(x)*y(x) - q(x) + Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)