Internal
problem
ID
[2402]
Book
:
Differential
equations
and
their
applications,
3rd
ed.,
M.
Braun
Section
:
Section
2.4,
The
method
of
variation
of
parameters.
Page
154
Problem
number
:
1
Date
solved
:
Sunday, March 30, 2025 at 12:00: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)