Internal
problem
ID
[18819]
Book
:
Introductory
Course
On
Differential
Equations
by
Daniel
A
Murray.
Longmans
Green
and
Co.
NY.
1924
Section
:
Chapter
VI.
Linear
equations
with
constant
coefficients.
Examples
on
chapter
VI,
page
80
Problem
number
:
Ex.
5
Date
solved
:
Thursday, March 13, 2025 at 01:00:00 PM
CAS
classification
:
[[_2nd_order, _with_linear_symmetries]]
ode:=diff(diff(y(x),x),x)-5*diff(y(x),x)+6*y(x) = x+exp(m*x); dsolve(ode,y(x), singsol=all);
ode=D[y[x],{x,2}]-5*D[y[x],x]+6*y[x]==x+Exp[m*x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") m = symbols("m") y = Function("y") ode = Eq(-x + 6*y(x) - exp(m*x) - 5*Derivative(y(x), x) + Derivative(y(x), (x, 2)),0) ics = {} dsolve(ode,func=y(x),ics=ics)