Rumus LCM :
- m, modulus 0 < m.
- a, multiplier (pengganda) 0 < a < m.
- c, increment (pertambahan nilai) 0 ≤ c < m.
- X0, nilai awal 0 ≤ X0 < m.
Xn + 1 = (αXn + c) mod m
a=1, c=7, m=22
x(2) = ( 1(11) + 7 ) mod 22 = 18
x(3) = ( 1(18) + 7 ) mod 22 = 3
x(4) = ( 1(3) + 7 ) mod 22 = 10
x(5) = ( 1(10) + 7 ) mod 22 = 17
x(6) = ( 1(17) + 7 ) mod 22 = 2
x(7) = ( 1(2) + 7 ) mod 22 = 9
x(8) = ( 1(9) + 7 ) mod 22 = 16
x(9) = ( 1 (16) + 7 ) mod 22 = 1
x(10) = ( 1(1) + 7 ) mod 22= 8
x(11) = ( 1(8) + 7 ) mod 22 = 15
x(12) = ( 1 (15) + 7 ) mod 22 = 0
x(13) = ( 1 (0) + 7 ) mod 22 = 7
x(14) = ( 1 (7) + 7 ) mod 22 = 14
x(15) = ( 1 (14) + 7 ) mod 22 = 21
x(16) = ( 1 (21) + 7 ) mod 22 = 6
x(17) = ( 1 (6) + 7 ) mod 22 = 13
x(18) = ( 1 (13) + 7 ) mod 22 = 20
x(19) = ( 1 (20) + 7) mod 22 = 5
x(20) = ( 1 (5) + 7) mod 22 = 12
x(21) = ( 1 (5) + 7) mod 22 = 19
x(22) = ( 1 (5) + 7) mod 22 = 4
Berikut ini tampilan Program :
Menu Utama
Hiragana
Katakana
Kosa kata
Skor
Keluar dari aplikasi
Game ini merupakan hasil penelitian skripi Khairul adha yang merupakan pemilik blog ini: