Internal
problem
ID
[1805]
Book
:
Elementary
differential
equations
with
boundary
value
problems.
William
F.
Trench.
Brooks/Cole
2001
Section
:
Chapter
5
linear
second
order
equations.
Section
5.7
Variation
of
Parameters.
Page
262
Problem
number
:
1
Date
solved
:
Tuesday, September 30, 2025 at 05:19:42 AM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
ode:=diff(diff(y(x),x),x)+9*y(x) = tan(3*x); dsolve(ode,y(x), singsol=all);
ode=D[y[x],{x,2}]+9*y[x]==Tan[3*x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(9*y(x) - tan(3*x) + Derivative(y(x), (x, 2)),0) ics = {} dsolve(ode,func=y(x),ics=ics)