Internal
problem
ID
[2583]
Book
:
Differential
equations
and
their
applications,
4th
ed.,
M.
Braun
Section
:
Chapter
2.
Second
order
differential
equations.
Section
2.4.
The
method
of
variation
of
parameters.
Excercises
page
156
Problem
number
:
1
Date
solved
:
Tuesday, September 30, 2025 at 05:47:26 AM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
ode:=diff(diff(y(t),t),t)+y(t) = sec(t); dsolve(ode,y(t), singsol=all);
ode=D[y[t],{t,2}]+y[t]==Sec[t]; ic={}; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") y = Function("y") ode = Eq(y(t) + Derivative(y(t), (t, 2)) - 1/cos(t),0) ics = {} dsolve(ode,func=y(t),ics=ics)