1 recursiv.mac is from the book "Computer Algebra in Applied
2 Mathematics: An introduction to MACSYMA", by Richard H Rand, Pitman
5 Mathieu's equation is x''+(delta+e*cos(t))*x=0
7 For given values of the parameters delta and e, either all the
8 solutions are bounded (the equation is stable) or there exist
9 unbounded solutions (the equation is unstable). The regions of
10 stability are separated from those of instability by "transition
13 This program computes the transition curves of Mathieu's equation
14 using a method due to Levy and Keller (1963) which uses Fourier series
15 to solve the perturbation equations. An improved version of this
16 routine is given in newimprv.mac.
18 The run below, using maxima-5.9.0cvs, reproduces the result on pages
21 (C1) load("./recursiv.mac");
24 ENTER TRANSITION CURVE NUMBER N
26 ENTER DEGREE OF TRUNCATION
30 delta= - ----- + ---- - --
35 ENTER TRANSITION CURVE NUMBER N
37 ENTER DEGREE OF TRUNCATION
41 delta= ----- - ----- - --- + -- - -- - - + -
42 36864 4608 384 32 8 2 4
46 delta= ----- + ----- - --- - -- - -- + - + -
47 36864 4608 384 32 8 2 4
51 ENTER TRANSITION CURVE NUMBER N
53 ENTER DEGREE OF TRUNCATION
57 delta= - ------ + ---- + 1
67 Levy, D.M. and Keller, J.B. "Instability Intervals of Hill's
68 Equation", Comm. Pure Appl. Math. 16:469-476 (1963)