Internal
problem
ID
[17260]
Book
:
Differential
equations.
An
introduction
to
modern
methods
and
applications.
James
Brannan,
William
E.
Boyce.
Third
edition.
Wiley
2015
Section
:
Chapter
2.
First
order
differential
equations.
Section
2.2
(Linear
equations:
Method
of
integrating
factors).
Problems
at
page
54
Problem
number
:
3
Date
solved
:
Thursday, March 13, 2025 at 09:22:15 AM
CAS
classification
:
[[_linear, `class A`]]
ode:=diff(y(t),t)+y(t) = t*exp(-t)+1; dsolve(ode,y(t), singsol=all);
ode=D[y[t],t]+y[t]==t*Exp[-t]+1; ic={}; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") y = Function("y") ode = Eq(-t*exp(-t) + y(t) + Derivative(y(t), t) - 1,0) ics = {} dsolve(ode,func=y(t),ics=ics)