Internal
problem
ID
[7300]
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
:
16
Date
solved
:
Wednesday, March 05, 2025 at 04:22:53 AM
CAS
classification
:
[_quadrature]
Using series method with expansion around
With initial conditions
Order:=6; ode:=diff(y(x),x)+4*y(x) = 1; ic:=y(0) = 5/4; dsolve([ode,ic],y(x),type='series',x=0);
ode=D[y[x],x]+4*y[x]==1; ic={y[0]==125/100}; AsymptoticDSolveValue[{ode,ic},y[x],{x,0,5}]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(4*y(x) + Derivative(y(x), x) - 1,0) ics = {y(0): 5/4} dsolve(ode,func=y(x),ics=ics,hint="1st_power_series",x0=0,n=6)