Internal
problem
ID
[6380]
Book
:
Fundamentals
of
Differential
Equations.
By
Nagle,
Saff
and
Snider.
9th
edition.
Boston.
Pearson
2018.
Section
:
Chapter
8,
Series
solutions
of
differential
equations.
Section
8.4.
page
449
Problem
number
:
22
Date
solved
:
Sunday, March 30, 2025 at 10:53:58 AM
CAS
classification
:
[_linear]
Using series method with expansion around
Order:=6; ode:=diff(w(x),x)+x*w(x) = exp(x); dsolve(ode,w(x),type='series',x=0);
ode=D[w[x],x]-x*w[x]==Exp[x]; ic={}; AsymptoticDSolveValue[{ode,ic},w[x],{x,0,5}]
from sympy import * x = symbols("x") w = Function("w") ode = Eq(x*w(x) - exp(x) + Derivative(w(x), x),0) ics = {} dsolve(ode,func=w(x),ics=ics,hint="1st_power_series",x0=0,n=6)