Internal
problem
ID
[22000]
Book
:
Differential
Equations
By
Kaj
L.
Nielsen.
Second
edition
1966.
Barnes
and
nobel.
66-28306
Section
:
Chapter
VI.
Linear
equations
with
constant
coefficients.
Ex.
XIII
at
page
106
Problem
number
:
11
Date
solved
:
Thursday, October 02, 2025 at 08:21:33 PM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
ode:=diff(diff(y(x),x),x)+4*y(x) = 2*tan(x); dsolve(ode,y(x), singsol=all);
ode=D[y[x],{x,2}]+4*y[x]==2*Tan[x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(4*y(x) - 2*tan(x) + Derivative(y(x), (x, 2)),0) ics = {} dsolve(ode,func=y(x),ics=ics)