Drop Menu Website Template
Image
image
image


Hello There, Guest! Register

Post Reply 
Every 7 kittens born, 6 are normal size and 1 special size!
11-06-2014, 06:48 AM
Post: #39
RE: Every 7 kittens born, 6 are normal size and 1 special size!


I wrote a code similar to that used by the KC to pick random sizes for kittens.



1 - RANDOM SYSTEM SET TO NORMAL SIZE 85%

menor = 1 'define the smallest number
maior = 35 'define the greater number

for x=1 To 2000 'loop 2000 times
sorteado = Int((maior-menor+1)*Rnd+menor) 'random choice of numbers

SELECT Case sorteado 'Gets the number chosen and makes an analysis
case 1, 2, 3, 4, 5, 6, 8, 9, 10 ,11, 12, 13, 15, 16, 17, 18, 19, 20, 22, 23, 24, 25, 26, 27, 29, 30, 31, 32, 33, 34
Size_Normal = Size_Normal + 1 'adds +1 in the size normal
case 7
Size_Teacup = Size_Teacup + 1 'adds +1 in the size teacup
case 14
Size_Toy = Size_Toy + 1 'adds +1 in the size toy
case 21
Size_Petite = Size_Petite + 1 'adds +1 in the size petite
case 28
Size_BiggerdeBig = Size_BiggerdeBig + 1 'adds +1 in the size bigger de big
case 35
Size_MegaPuss = Size_MegaPuss + 1 'adds +1 in the size megapuss
end select

next 'loop


See The results of the 'random' system set to 85% normal size.

Size_Normal = 1722
Size_Teacup = 67
Size_Toy = 66
Size_Petite = 48
Size_BiggerdeBig = 49
Size_MegaPuss = 48
Total = 2000


Size_Normal = 1697
Size_Teacup = 62
Size_Toy = 66
Size_Petite = 59
Size_BiggerdeBig = 57
Size_MegaPuss = 59
Total = 2000


Size_Normal = 1693
Size_Teacup = 67
Size_Toy = 62
Size_Petite = 64
Size_BiggerdeBig = 64
Size_MegaPuss = 50
Total = 2000


Size_Normal = 1702
Size_Teacup = 65
Size_Toy = 57
Size_Petite = 70
Size_BiggerdeBig = 54
Size_MegaPuss = 52
Total = 2000


Size_Normal = 1727
Size_Teacup = 55
Size_Toy = 53
Size_Petite = 48
Size_BiggerdeBig = 62
Size_MegaPuss = 55
Total = 2000


We can assert that:
a) the system KC is random
b) the system KC has a 85% adjustment to the normal size






2- RANDOM SYSTEM SETTINGS WITHOUT

menor = 1 'define the smallest number
maior = 6 'define the greater number

for x=1 To 2000 'loop 2000 times
sorteado = Int((maior-menor+1)*Rnd+menor) 'random choice of numbers

SELECT Case sorteado 'Gets the number chosen and makes an analysis
case 1
Size_Normal = Size_Normal + 1 'adds +1 in the size normal
case 2
Size_Teacup = Size_Teacup + 1 'adds +1 in the size teacup
case 3
Size_Toy = Size_Toy + 1 'adds +1 in the size toy
case 4
Size_Petite = Size_Petite + 1 'adds +1 in the size petite
case 5
Size_BiggerdeBig = Size_BiggerdeBig + 1 'adds +1 in the size bigger de big
case 6
Size_MegaPuss = Size_MegaPuss + 1 'adds +1 in the size megapuss
end select

next 'loop



Now let's see the results of the 'random' system, with only the options of sizes without adjustment of 85%.

Size_Normal = 311
Size_Teacup = 340
Size_Toy = 352
Size_Petite = 300
Size_BiggerdeBig = 335
Size_MegaPuss = 362
Total = 2000


Size_Normal = 338
Size_Teacup = 353
Size_Toy = 317
Size_Petite = 343
Size_BiggerdeBig = 319
Size_MegaPuss = 330
Total = 2000


Size_Normal = 376
Size_Teacup = 332
Size_Toy = 298
Size_Petite = 336
Size_BiggerdeBig = 339
Size_MegaPuss = 319
Total = 2000


Size_Normal = 335
Size_Teacup = 344
Size_Toy = 339
Size_Petite = 308
Size_BiggerdeBig = 338
Size_MegaPuss = 336
Total = 2000


Size_Normal = 334
Size_Teacup = 336
Size_Toy = 332
Size_Petite = 331
Size_BiggerdeBig = 337
Size_MegaPuss = 330
Total = 2000


Size_Normal = 363
Size_Teacup = 333
Size_Toy = 336
Size_Petite = 316
Size_BiggerdeBig = 320
Size_MegaPuss = 332
Total = 2000



We can assert that:
a) this is not the random system that uses KC

Store: TooAdorable
Blog: Mr.Cat - breeding, market and classes
Link: http://mrcat-kitty.blogspot.com.br/
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Every 7 kittens born, 6 are normal size and 1 special size! - fabioazevedo Oh - 11-06-2014 06:48 AM



User(s) browsing this thread: 17 Guest(s)