Internal
problem
ID
[14533]
Book
:
Differential
Equations
by
Shepley
L.
Ross.
Third
edition.
John
Willey.
New
Delhi.
2004.
Section
:
Chapter
1,
Differential
equations
and
their
solutions.
Exercises
page
13
Problem
number
:
3(a)
Date
solved
:
Thursday, October 02, 2025 at 09:38:19 AM
CAS
classification
:
[[_linear, `class A`]]
ode:=diff(y(x),x)+3*y(x) = 3*x^2*exp(-3*x); dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]+3*y[x]==3*x^2*Exp[-3*x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-3*x**2*exp(-3*x) + 3*y(x) + Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)