Internal
problem
ID
[16230]
Book
:
INTRODUCTORY
DIFFERENTIAL
EQUATIONS.
Martha
L.
Abell,
James
P.
Braselton.
Fourth
edition
2014.
ElScAe.
2014
Section
:
Chapter
4.
Higher
Order
Equations.
Exercises
4.3,
page
156
Problem
number
:
62
(b)
Date
solved
:
Monday, March 31, 2025 at 02:47:46 PM
CAS
classification
:
[[_linear, `class A`]]
With initial conditions
ode:=diff(y(t),t)+y(t) = cos(2*t); ic:=y(0) = 0; dsolve([ode,ic],y(t), singsol=all);
ode=D[y[t],t]+y[t]==Cos[2*t]; ic={y[0]==0}; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") y = Function("y") ode = Eq(y(t) - cos(2*t) + Derivative(y(t), t),0) ics = {y(0): 0} dsolve(ode,func=y(t),ics=ics)