Internal
problem
ID
[721]
Book
:
Differential
equations
and
linear
algebra,
3rd
ed.,
Edwards
and
Penney
Section
:
Section
1.5.
Linear
first
order
equations.
Page
56
Problem
number
:
18
Date
solved
:
Tuesday, March 04, 2025 at 11:34:07 AM
CAS
classification
:
[_linear]
ode:=x*diff(y(x),x) = x^3*cos(x)+2*y(x); dsolve(ode,y(x), singsol=all);
ode=x*D[y[x],x]== x^3*Cos[x]+2*y[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)