Internal
problem
ID
[25115]
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
:
21
Date
solved
:
Thursday, October 02, 2025 at 11:50:36 PM
CAS
classification
:
[_linear]
ode:=diff(y(t),t)-n/t*y(t) = exp(t)*t^n; dsolve(ode,y(t), singsol=all);
ode=D[y[t],{t,1}] -n/t*y[t]== Exp[t] * t^n; ic={}; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") n = symbols("n") y = Function("y") ode = Eq(-n*y(t)/t - t**n*exp(t) + Derivative(y(t), t),0) ics = {} dsolve(ode,func=y(t),ics=ics)