Internal
problem
ID
[14667]
Book
:
DIFFERENTIAL
EQUATIONS
by
Paul
Blanchard,
Robert
L.
Devaney,
Glen
R.
Hall.
4th
edition.
Brooks/Cole.
Boston,
USA.
2012
Section
:
Chapter
1.
First-Order
Differential
Equations.
Exercises
section
1.8
page
121
Problem
number
:
21
Date
solved
:
Monday, March 31, 2025 at 12:52:06 PM
CAS
classification
:
[[_linear, `class A`]]
ode:=diff(y(t),t)+2*y(t) = t^2+2*t+1+exp(4*t); dsolve(ode,y(t), singsol=all);
ode=D[y[t],t]+2*y[t]==t^2+2*t+1+Exp[4*t]; ic={}; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") y = Function("y") ode = Eq(-t**2 - 2*t + 2*y(t) - exp(4*t) + Derivative(y(t), t) - 1,0) ics = {} dsolve(ode,func=y(t),ics=ics)