Internal
problem
ID
[7293]
Book
:
ADVANCED
ENGINEERING
MATHEMATICS.
ERWIN
KREYSZIG,
HERBERT
KREYSZIG,
EDWARD
J.
NORMINTON.
10th
edition.
John
Wiley
USA.
2011
Section
:
Chapter
5.
Series
Solutions
of
ODEs.
Special
Functions.
Problem
set
5.1.
page
174
Problem
number
:
8
Date
solved
:
Sunday, March 30, 2025 at 11:53:36 AM
CAS
classification
:
[_separable]
Using series method with expansion around
Order:=6; ode:=x*diff(y(x),x)-3*y(x) = k; dsolve(ode,y(x),type='series',x=0);
ode=x*D[y[x],x]-3*y[x]==k; ic={}; AsymptoticDSolveValue[{ode,ic},y[x],{x,0,5}]
from sympy import * x = symbols("x") k = symbols("k") y = Function("y") ode = Eq(-k + x*Derivative(y(x), x) - 3*y(x),0) ics = {} dsolve(ode,func=y(x),ics=ics,hint="1st_power_series",x0=0,n=6)
ValueError : ODE -k + x*Derivative(y(x), x) - 3*y(x) does not match hint 1st_power_series