Internal
problem
ID
[3514]
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.15
Date
solved
:
Sunday, March 30, 2025 at 01:45:29 AM
CAS
classification
:
[_Gegenbauer, [_2nd_order, _linear, `_with_symmetry_[0,F(x)]`]]
Using series method with expansion around
Order:=6; ode:=(-z^2+1)*diff(diff(y(z),z),z)-z*diff(y(z),z)+m^2*y(z) = 0; dsolve(ode,y(z),type='series',z=0);
ode=(1-z^2)*D[y[z],{z,2}]-z*D[y[z],z]+m^2*y[z]==0; ic={}; AsymptoticDSolveValue[{ode,ic},y[z],{z,0,5}]
from sympy import * z = symbols("z") m = symbols("m") y = Function("y") ode = Eq(m**2*y(z) - 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)