Internal
problem
ID
[12859]
Book
:
An
elementary
treatise
on
differential
equations
by
Abraham
Cohen.
DC
heath
publishers.
1906
Section
:
Chapter
VII,
Linear
differential
equations
with
constant
coefficients.
Article
49.
Variation
of
parameters.
Page
106
Problem
number
:
Ex
2
Date
solved
:
Wednesday, March 05, 2025 at 08:48:35 PM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
ode:=diff(diff(y(x),x),x)+y(x) = tan(x); dsolve(ode,y(x), singsol=all);
ode=D[y[x],{x,2}]+y[x]==Tan[x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(y(x) - tan(x) + Derivative(y(x), (x, 2)),0) ics = {} dsolve(ode,func=y(x),ics=ics)