Internal
problem
ID
[2608]
Book
:
Differential
equations
and
their
applications,
4th
ed.,
M.
Braun
Section
:
Chapter
2.
Second
order
differential
equations.
Section
2.5.
Method
of
judicious
guessing.
Excercises
page
164
Problem
number
:
15
Date
solved
:
Sunday, March 30, 2025 at 12:11:27 AM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
ode:=diff(diff(y(t),t),t)+y(t) = cos(t)*cos(2*t); dsolve(ode,y(t), singsol=all);
ode=D[y[t],{t,2}]+y[t]==Cos[t]*Cos[2*t]; ic={}; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") y = Function("y") ode = Eq(y(t) - cos(t)*cos(2*t) + Derivative(y(t), (t, 2)),0) ics = {} dsolve(ode,func=y(t),ics=ics)