Noting that ydot = diff(y) Noting that zdot = diff(z) Noting that wdot = diff(w) Noting that xdot = diff(x) STARTING PANTELIDES! Variables: [0] x, [1] y, [2] w, [3] z, [4] xdot, [5] ydot, [6] wdot, [7] zdot, [8] T Equations: [0] eq1: xdot=w (ref: w, xdot) [1] eq2: ydot=z (ref: z, ydot) [2] eq3: wdot = T x (ref: x, wdot, T) [3] eq4: zdot = T y - g (ref: y, zdot, T) [4] eq5: 0 = x ^2 + y ^2 - L ^2 (ref: x, y) There are 5 equations in 5 variables (plus 4 derivatives) Outer loop: equation k = eq1 Deleting edge {eq3-x} Deleting edge {eq5-x} Deleting variable x Deleting edge {eq4-y} Deleting edge {eq5-y} Deleting variable y Deleting edge {eq1-w} Deleting variable w Deleting edge {eq2-z} Deleting variable z Coloured equation eq1 ASSIGNing variable xdot to equation eq1 Outer loop: equation k = eq2 Coloured equation eq2 ASSIGNing variable ydot to equation eq2 Outer loop: equation k = eq3 Coloured equation eq3 ASSIGNing variable wdot to equation eq3 Outer loop: equation k = eq4 Coloured equation eq4 ASSIGNing variable zdot to equation eq4 Outer loop: equation k = eq5 Coloured equation eq5 Created equation eq5', diff(0 = x ^2 + y ^2 - L ^2) Checking edge {eq5-x}, 4 0 Adding new edge {eq5',xdot} Adding new edge {eq5',x} Checking edge {eq5-y}, 4 1 Adding new edge {eq5',ydot} Adding new edge {eq5',y} Set current equation to (i=5) eq5' Coloured equation eq5' Coloured variable xdot (4) Coloured equation eq1 Coloured variable ydot (5) Coloured equation eq2 Created variable xdotdot (9) Created variable ydotdot (10) Created equation eq1', diff(xdot=w) Checking edge {eq1-w}, 0 2 Adding new edge {eq1',wdot} Adding new edge {eq1',w} Checking edge {eq1-xdot}, 0 4 Adding new edge {eq1',xdotdot} Adding new edge {eq1',xdot} Created equation eq2', diff(ydot=z) Checking edge {eq2-z}, 1 3 Adding new edge {eq2',zdot} Adding new edge {eq2',z} Checking edge {eq2-ydot}, 1 5 Adding new edge {eq2',ydotdot} Adding new edge {eq2',ydot} Created equation eq5'', diff(diff(0 = x ^2 + y ^2 - L ^2)) Checking edge {eq5'-x}, 5 0 Adding new edge {eq5'',xdot} Adding new edge {eq5'',x} Checking edge {eq5'-y}, 5 1 Adding new edge {eq5'',ydot} Adding new edge {eq5'',y} Checking edge {eq5'-xdot}, 5 4 Adding new edge {eq5'',xdotdot} Adding new edge {eq5'',xdot} Checking edge {eq5'-ydot}, 5 5 Adding new edge {eq5'',ydotdot} Adding new edge {eq5'',ydot} Assigning xdotdot to eq1' Assigning ydotdot to eq2' Set current equation to (i=8) eq5'' Deleting edge {eq1-xdot} Deleting edge {eq5'-xdot} Deleting edge {eq1'-xdot} Deleting edge {eq5''-xdot} Deleting variable xdot Deleting edge {eq2-ydot} Deleting edge {eq5'-ydot} Deleting edge {eq2'-ydot} Deleting edge {eq5''-ydot} Deleting variable ydot Coloured equation eq5'' Coloured variable xdotdot (9) Coloured equation eq1' Coloured variable wdot (6) Coloured equation eq3 ASSIGNing variable T to equation eq3 ASSIGNing variable wdot to equation diff(xdot=w) ASSIGNing variable xdotdot to equation diff(diff(0 = x ^2 + y ^2 - L ^2)) PANTELIDES COMPLETED Variables: [0] x, [1] y, [2] w, [3] z, [4] xdot, [5] ydot, [6] wdot, [7] zdot, [8] T, [9] xdotdot, [10] ydotdot Equations: [0] eq1: xdot=w (ref: w, xdot) [1] eq2: ydot=z (ref: z, ydot) [2] eq3: wdot = T x (ref: x, wdot, T) [3] eq4: zdot = T y - g (ref: y, zdot, T) [4] eq5: 0 = x ^2 + y ^2 - L ^2 (ref: x, y) [5] eq5': diff(0 = x ^2 + y ^2 - L ^2) (ref: x, y, xdot, ydot) [6] eq1': diff(xdot=w) (ref: w, xdot, wdot, xdotdot) [7] eq2': diff(ydot=z) (ref: z, ydot, zdot, ydotdot) [8] eq5'': diff(diff(0 = x ^2 + y ^2 - L ^2)) (ref: x, y, xdot, ydot, xdotdot, ydotdot) Variable x is NOT ASSIGNED. Variable y is NOT ASSIGNED. Variable w is NOT ASSIGNED. Variable z is NOT ASSIGNED. Variable xdot is assigned to equation eq1, 'xdot=w' Variable ydot is assigned to equation eq2, 'ydot=z' Variable wdot is assigned to equation eq1', 'diff(xdot=w)' Variable zdot is assigned to equation eq4, 'zdot = T y - g' Variable T is assigned to equation eq3, 'wdot = T x' Variable xdotdot is assigned to equation eq5'', 'diff(diff(0 = x ^2 + y ^2 - L ^2))' Variable ydotdot is assigned to equation eq2', 'diff(ydot=z)' ASSIGN = (0,0,0,0,eq1,eq2,eq1',eq4,eq3,eq5'',eq2') M = 11 N = 9 Initial values required: 2 (plus 4 conditions corresponding to the equations which were differentiated) Differentiated vars: x, y, w, z, xdot, ydot