Internal
problem
ID
[3501]
Book
:
Mathematical
methods
for
physics
and
engineering,
Riley,
Hobson,
Bence,
second
edition,
2002
Section
:
Chapter
16,
Series
solutions
of
ODEs.
Section
16.6
Exercises,
page
550
Problem
number
:
Problem
16.1
Date
solved
:
Tuesday, March 04, 2025 at 04:43:41 PM
CAS
classification
:
[_Gegenbauer]
Using series method with expansion around
Order:=6; ode:=(-z^2+1)*diff(diff(y(z),z),z)-3*z*diff(y(z),z)+lambda*y(z) = 0; dsolve(ode,y(z),type='series',z=0);
ode=(1-z^2)*D[y[z],{z,2}]-3*z*D[y[z],z]+\[Lambda]*y[z]==0; ic={}; AsymptoticDSolveValue[{ode,ic},y[z],{z,0,5}]
from sympy import * z = symbols("z") cg = symbols("cg") y = Function("y") ode = Eq(cg*y(z) - 3*z*Derivative(y(z), z) + (1 - z**2)*Derivative(y(z), (z, 2)),0) ics = {} dsolve(ode,func=y(z),ics=ics,hint="2nd_power_series_ordinary",x0=0,n=6)