Internal
problem
ID
[25112]
Book
:
Ordinary
Differential
Equations.
By
William
Adkins
and
Mark
G
Davidson.
Springer.
NY.
2010.
ISBN
978-1-4614-3617-1
Section
:
Chapter
1.
First
order
differential
equations.
Exercises
at
page
59
Problem
number
:
18
Date
solved
:
Thursday, October 02, 2025 at 11:50:29 PM
CAS
classification
:
[[_linear, `class A`]]
ode:=diff(y(t),t)+a*y(t) = t^n*exp(-a*t); dsolve(ode,y(t), singsol=all);
ode=D[y[t],{t,1}] +a*y[t]== t^n*Exp[-a*t]; ic={}; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") a = symbols("a") n = symbols("n") y = Function("y") ode = Eq(a*y(t) - t**n*exp(-a*t) + Derivative(y(t), t),0) ics = {} dsolve(ode,func=y(t),ics=ics)