Internal
problem
ID
[8214]
Book
:
A
course
in
Ordinary
Differential
Equations.
by
Stephen
A.
Wirkus,
Randall
J.
Swift.
CRC
Press
NY.
2015.
2nd
Edition
Section
:
Chapter
8.
Series
Methods.
section
8.2.
The
Power
Series
Method.
Problems
Page
603
Problem
number
:
2.
Using
series
method
Date
solved
:
Sunday, March 30, 2025 at 12:48:45 PM
CAS
classification
:
[[_linear, `class A`]]
Using series method with expansion around
With initial conditions
Order:=8; ode:=diff(y(x),x)-2*y(x) = x^2; ic:=y(1) = 1; dsolve([ode,ic],y(x),type='series',x=1);
ode=D[y[x],x]-2*y[x]==x^2; ic={y[1]==1}; AsymptoticDSolveValue[{ode,ic},y[x],{x,1,7}]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-x**2 - 2*y(x) + Derivative(y(x), x),0) ics = {y(1): 1} dsolve(ode,func=y(x),ics=ics,hint="1st_power_series",x0=1,n=8)