- #1
Mr Peanut
- 30
- 0
Given an imaginary, mechanical chimpanzee that never wears out nor sleeps nor relents. Who is compelled to type constantly through eternity into an endless text file using a US standard keyboard... as fast as he can. That this monkey knows simply that he must hit only character keys and only one at a time. He has the additional random option of holding down dead keys (shift key & Alt key). He has no other faculties. He is purely random in nature. His access to each of the character keys is exactly equal except that striking the windows key, menu key, esc key, and control key are infinitely unlikely.
Given that he is limited by the design specifications of the best keyboard... made to support a typist that is twice as fast as the world record holder for typing (37,500 keys/50 min = 12.5 keys/sec). This design limit is 25 characters per second.
Given that he confines his speed to exactly the design limit and types 25 characters per second.
Given that the Guttenberg Project’s flat text file for the King James Bible (GPKJB) has 4,245, 026 characters in a specific sequence in the file.
then
1) The keyboard allows anyone of 256 characters to be typed per key press (ASCII 0 – 255). The probability of hitting a given key is 1/256 = ~0.004
2) The average number of keys that must be struck before he duplicates the file is:
(0.004)^4,245,026 = 5.6 X 10^36
What's the standard deviation of this average?
Given that he is limited by the design specifications of the best keyboard... made to support a typist that is twice as fast as the world record holder for typing (37,500 keys/50 min = 12.5 keys/sec). This design limit is 25 characters per second.
Given that he confines his speed to exactly the design limit and types 25 characters per second.
Given that the Guttenberg Project’s flat text file for the King James Bible (GPKJB) has 4,245, 026 characters in a specific sequence in the file.
then
1) The keyboard allows anyone of 256 characters to be typed per key press (ASCII 0 – 255). The probability of hitting a given key is 1/256 = ~0.004
2) The average number of keys that must be struck before he duplicates the file is:
(0.004)^4,245,026 = 5.6 X 10^36
What's the standard deviation of this average?