Internal
problem
ID
[7592]
Book
:
Fundamentals
of
Differential
Equations.
By
Nagle,
Saff
and
Snider.
9th
edition.
Boston.
Pearson
2018.
Section
:
Chapter
4,
Linear
Second-Order
Equations.
EXERCISES
4.1
at
page
156
Problem
number
:
10
(c)
Date
solved
:
Tuesday, September 30, 2025 at 04:54:44 PM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
ode:=diff(diff(y(t),t),t)+25*y(t) = cos(omega*t); dsolve(ode,y(t), singsol=all);
ode=1*D[y[t],{t,2}]+0*D[y[t],t]+25*y[t]==Cos[\[Omega]*t]; ic={}; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") w = symbols("w") y = Function("y") ode = Eq(25*y(t) - cos(t*w) + Derivative(y(t), (t, 2)),0) ics = {} dsolve(ode,func=y(t),ics=ics)