Internal
problem
ID
[14539]
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
:
6(a)
Date
solved
:
Thursday, October 02, 2025 at 09:38:23 AM
CAS
classification
:
[[_linear, `class A`]]
ode:=diff(y(x),x)+2*y(x) = 6*exp(x)+4*x*exp(-2*x); dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]+2*y[x]==6*Exp[x]+4*x*Exp[-2*x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-4*x*exp(-2*x) + 2*y(x) - 6*exp(x) + Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)