Internal
problem
ID
[3156]
Book
:
Differential
Equations
by
Alfred
L.
Nelson,
Karl
W.
Folley,
Max
Coral.
3rd
ed.
DC
heath.
Boston.
1964
Section
:
Exercise
20,
page
90
Problem
number
:
12
Date
solved
:
Sunday, March 30, 2025 at 01:19:53 AM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
ode:=diff(diff(y(x),x),x)+a^2*y(x) = sec(a*x); dsolve(ode,y(x), singsol=all);
ode=D[y[x],{x,2}]+a^2*y[x]==Sec[a*x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") a = symbols("a") y = Function("y") ode = Eq(a**2*y(x) + Derivative(y(x), (x, 2)) - 1/cos(a*x),0) ics = {} dsolve(ode,func=y(x),ics=ics)