Internal
problem
ID
[14883]
Book
:
DIFFERENTIAL
EQUATIONS
by
Paul
Blanchard,
Robert
L.
Devaney,
Glen
R.
Hall.
4th
edition.
Brooks/Cole.
Boston,
USA.
2012
Section
:
Chapter
4.
Forcing
and
Resonance.
Section
4.3
page
424
Problem
number
:
1
Date
solved
:
Monday, March 31, 2025 at 01:01:19 PM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
ode:=diff(diff(y(t),t),t)+9*y(t) = cos(t); dsolve(ode,y(t), singsol=all);
ode=D[y[t],{t,2}]+9*y[t]==Cos[t]; ic={}; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") y = Function("y") ode = Eq(9*y(t) - cos(t) + Derivative(y(t), (t, 2)),0) ics = {} dsolve(ode,func=y(t),ics=ics)