Internal
problem
ID
[4280]
Book
:
Differential
equations
with
applications
and
historial
notes,
George
F.
Simmons.
Second
edition.
1971
Section
:
Chapter
2,
End
of
chapter,
page
61
Problem
number
:
8
Date
solved
:
Tuesday, March 04, 2025 at 06:04:54 PM
CAS
classification
:
[_linear]
ode:=x*diff(y(x),x)+y(x) = x*cos(x); dsolve(ode,y(x), singsol=all);
ode=x*D[y[x],x]+y[x]==x*Cos[x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-x*cos(x) + x*Derivative(y(x), x) + y(x),0) ics = {} dsolve(ode,func=y(x),ics=ics)