Internal
problem
ID
[4272]
Book
:
Differential
equations
with
applications
and
historial
notes,
George
F.
Simmons.
Second
edition.
1971
Section
:
Chapter
2,
section
11,
page
49
Problem
number
:
2(d)
Date
solved
:
Sunday, March 30, 2025 at 02:48:24 AM
CAS
classification
:
[[_linear, `class A`]]
ode:=diff(y(x),x)+y(x) = 2*x*exp(-x)+x^2; dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]+y[x]==2*x*Exp[-x]+x^2; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-x**2 - 2*x*exp(-x) + y(x) + Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)