1 improved.mac is from the book "Computer Algebra in Applied
2 Mathematics: An introduction to MACSYMA", by Richard H Rand, Pitman
3 (1984). The version here was adapted from newimprv.bk1 by David
6 For given values of the parameters delta and e, either all the
7 solutions are bounded (the equation is stable) or there exist
8 unbounded solutions (the equation is unstable). The regions of
9 stability are separated from thos of instability by "transition
12 This program computes the transition curves of Mathieu's equation
13 using a method due to Levy and Keller (1963) which uses Fourier series
14 to solve the perturbation equations. It is an improved version of
15 recursiv.mac, as it stores intermediate results of the recursive
16 functions A() and D() in arrays B[] and E[], rather than recalculating
17 them each call. Some indirection is required, and the command
18 REMARRAY is the only way to delete the values of arrays B and E, and
19 would also delete any associated functions.
21 The run below, using maxima-5.9.0cvs, reproduces the results on pages
22 120-121 and page 140 of the book.
24 (C1) load("./improved.mac");
27 ENTER TRANSITION CURVE NUMBER N
29 ENTER DEGREE OF TRUNCATION
32 123707 e 68687 e 29 e 7 e e
33 delta= - ---------- + -------- - ----- + ---- - --
34 409600 294912 144 32 2
38 ENTER TRANSITION CURVE NUMBER N
40 ENTER DEGREE OF TRUNCATION
43 114299 e 12121 e 83 e 55 e 49 e 11 e e e
44 delta= - ---------- + --------- - ------ - ------ + ----- - ----- - --- + --
45 6370099200 117964800 552960 294912 36864 4608 384 32
53 114299 e 12121 e 83 e 55 e 49 e 11 e e e
54 delta= - ---------- - --------- - ------ + ------ + ----- + ----- - --- - --
55 6370099200 117964800 552960 294912 36864 4608 384 32
64 ENTER TRANSITION CURVE NUMBER N
66 ENTER DEGREE OF TRUNCATION
69 4363384401463 e 1669068401 e 1002401 e 763 e 5 e
70 delta= ----------------- - ------------- + ---------- - ------ + ---- + 1
71 14447384985600 7166361600 4976640 3456 12
74 2499767 e 21391 e 289 e 5 e e
75 delta= - -------------- + ---------- - ------- + ---- - -- + 1
76 14447384985600 7166361600 4976640 3456 12
80 ENTER TRANSITION CURVE NUMBER N
82 ENTER DEGREE OF TRUNCATION
85 4011632808829219892175301 e 63642189915976296887 e
86 delta= ----------------------------- - ------------------------
87 1789497024366772224000000 44737425609169305600
90 7534554811777337 e 286241141477 e 8022167579 e 123707 e
91 + -------------------- - ---------------- + -------------- - ----------
92 8182428094955520 468202291200 19110297600 409600
96 + -------- - ----- + ---- - --
103 Levy, D.M. and Keller, J.B. "Instability Intervals of Hill's
104 Equation", Comm. Pure Appl. Math. 16:469-476 (1963)