Subversion Repositories wimsdev

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
535 bpr 1
!! Addition and multiplication tables of F9
2
!! This file is usable both as variable processing file and phtml file.
3
!! Choice: x^2-x-1=0
4
 
5
!! addition table
6
 !set add0=0,1,2,3,4,5,6,7,8
7
 !set add1=1,5,3,8,7,0,4,6,2
8
 !set add2=2,3,6,4,1,8,0,5,7
9
 !set add3=3,8,4,7,5,2,1,0,6
10
 !set add4=4,7,1,5,8,6,3,2,0
11
 !set add5=5,0,8,2,6,1,7,4,3
12
 !set add6=6,4,0,1,3,7,2,8,5
13
 !set add7=7,6,5,0,2,4,8,3,1
14
 !set add8=8,2,7,6,0,3,5,1,4
15
 
16
!! multiplication table
17
 !set mul0=0,0,0,0,0,0,0,0,0
18
 !set mul1=0,1,2,3,4,5,6,7,8
19
 !set mul2=0,2,3,4,5,6,7,8,1
20
 !set mul3=0,3,4,5,6,7,8,1,2
21
 !set mul4=0,4,5,6,7,8,1,2,3
22
 !set mul5=0,5,6,7,8,1,2,3,4
23
 !set mul6=0,6,7,8,1,2,3,4,5
24
 !set mul7=0,7,8,1,2,3,4,5,6
25
 !set mul8=0,8,1,2,3,4,5,6,7
26
 
27