spielwiese
Last change
on this file since 1ebec3 was
894057,
checked in by Oleksandr Motsak <motsak@…>, 13 years ago
|
ADD: Tests from online manual (res+stat on mamawutz): short ones Tst/Manual/s.lst
|
-
Property mode set to
100644
|
File size:
333 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | LIB "control.lib"; |
---|
3 | // TwoPendula with L1=L2=L |
---|
4 | ring r=(0,m1,m2,M,g,L),Dt,dp; |
---|
5 | module RR = |
---|
6 | [m1*L*Dt^2, m2*L*Dt^2, -1, (M+m1+m2)*Dt^2], |
---|
7 | [m1*L^2*Dt^2-m1*L*g, 0, 0, m1*L*Dt^2], |
---|
8 | [0, m2*L^2*Dt^2-m2*L*g, 0, m2*L*Dt^2]; |
---|
9 | module R = transpose(RR); |
---|
10 | list C = control(R); |
---|
11 | list CC = canonize(C); |
---|
12 | view(CC); |
---|
13 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.