Internal
problem
ID
[22939]
Book
:
Applied
Differential
Equations.
By
Murray
R.
Spiegel.
3rd
edition.
1980.
Pearson.
ISBN
978-0130400970
Section
:
Chapter
7.
Solution
of
differential
equations
by
use
of
series.
A
Exercises
at
page
316
Problem
number
:
1
(c)
Date
solved
:
Thursday, October 02, 2025 at 09:16:47 PM
CAS
classification
:
[[_linear, `class A`]]
Using series method with expansion around
Order:=6; ode:=diff(y(x),x) = 2*x-y(x); dsolve(ode,y(x),type='series',x=0);
ode=D[y[x],x]==2*x-y[x]; ic={}; AsymptoticDSolveValue[{ode,ic},y[x],{x,0,5}]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-2*x + y(x) + Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics,hint="1st_power_series",x0=0,n=6)