Internal
problem
ID
[90]
Book
:
Elementary
Differential
Equations.
By
C.
Henry
Edwards,
David
E.
Penney
and
David
Calvis.
6th
edition.
2008
Section
:
Chapter
1.
First
order
differential
equations.
Section
1.5
(linear
equations).
Problems
at
page
54
Problem
number
:
18
Date
solved
:
Tuesday, September 30, 2025 at 03:43:01 AM
CAS
classification
:
[_linear]
ode:=x*diff(y(x),x) = 2*y(x)+x^3*cos(x); dsolve(ode,y(x), singsol=all);
ode=x*D[y[x],x]==2*y[x]+x^3*Cos[x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-x**3*cos(x) + x*Derivative(y(x), x) - 2*y(x),0) ics = {} dsolve(ode,func=y(x),ics=ics)