Internal
problem
ID
[13262]
Book
:
Differential
Equations
by
Shepley
L.
Ross.
Third
edition.
John
Willey.
New
Delhi.
2004.
Section
:
Chapter
2,
section
2.3
(Linear
equations).
Exercises
page
56
Problem
number
:
20
Date
solved
:
Monday, March 31, 2025 at 07:44:10 AM
CAS
classification
:
[_separable]
With initial conditions
ode:=diff(y(x),x)+3*x^2*y(x) = x^2; ic:=y(0) = 2; dsolve([ode,ic],y(x), singsol=all);
ode=D[y[x],x]+3*x^2*y[x]==x^2; ic={y[0]==2}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(3*x**2*y(x) - x**2 + Derivative(y(x), x),0) ics = {y(0): 2} dsolve(ode,func=y(x),ics=ics)