Internal
problem
ID
[14670]
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
:
24
Date
solved
:
Monday, March 31, 2025 at 12:52:14 PM
CAS
classification
:
[[_linear, `class A`]]
ode:=diff(y(t),t)+y(t) = cos(2*t)+3*sin(2*t)+exp(-t); dsolve(ode,y(t), singsol=all);
ode=D[y[t],t]+y[t]==Cos[2*t]+3*Sin[2*t]+Exp[-t]; ic={}; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") y = Function("y") ode = Eq(y(t) - 3*sin(2*t) - cos(2*t) + Derivative(y(t), t) - exp(-t),0) ics = {} dsolve(ode,func=y(t),ics=ics)