Internal
problem
ID
[12873]
Book
:
An
elementary
treatise
on
differential
equations
by
Abraham
Cohen.
DC
heath
publishers.
1906
Section
:
Chapter
VII,
Linear
differential
equations
with
constant
coefficients.
Article
52.
Summary.
Page
117
Problem
number
:
Ex
1
Date
solved
:
Wednesday, March 05, 2025 at 08:49:21 PM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
ode:=diff(diff(y(x),x),x)-5*diff(y(x),x)+6*y(x) = cos(x)-exp(2*x); dsolve(ode,y(x), singsol=all);
ode=D[y[x],{x,2}]-5*D[y[x],x]+6*y[x]==Cos[x]-Exp[2*x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(6*y(x) + exp(2*x) - cos(x) - 5*Derivative(y(x), x) + Derivative(y(x), (x, 2)),0) ics = {} dsolve(ode,func=y(x),ics=ics)