Internal
problem
ID
[16442]
Book
:
INTRODUCTORY
DIFFERENTIAL
EQUATIONS.
Martha
L.
Abell,
James
P.
Braselton.
Fourth
edition
2014.
ElScAe.
2014
Section
:
Chapter
4.
Higher
Order
Equations.
Exercises
4.8,
page
203
Problem
number
:
7
Date
solved
:
Monday, March 31, 2025 at 02:53:28 PM
CAS
classification
:
[[_2nd_order, _with_linear_symmetries]]
Using series method with expansion around
Order:=6; ode:=diff(diff(y(x),x),x)-diff(y(x),x)-2*y(x) = exp(-x); dsolve(ode,y(x),type='series',x=0);
ode=D[y[x],{x,2}]-D[y[x],x]-2*y[x]==Exp[-x]; ic={}; AsymptoticDSolveValue[{ode,ic},y[x],{x,0,5}]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-2*y(x) - Derivative(y(x), x) + Derivative(y(x), (x, 2)) - exp(-x),0) ics = {} dsolve(ode,func=y(x),ics=ics,hint="2nd_power_series_regular",x0=0,n=6)
ValueError : ODE -2*y(x) - Derivative(y(x), x) + Derivative(y(x), (x, 2)) - exp(-x) does not match hint 2nd_power_series_regular