Off-Topic Chatter Non-Vehicle Related Chat

Math!

Thread Tools
 
Search this Thread
 
Old Jan 16, 2008 | 05:27 PM
  #1  
ScottyBoy302's Avatar
Thread Starter
Cobra Member
 
Joined: August 20, 2005
Posts: 1,108
Likes: 0
From: BC
Math!

Alright, i know theres a few of you on here who love doing math, so ive got one. I was in an argument with someone about the 'monkeys typing Hamlet' thing. He was saying it would never happen (which is completely illogical), and i said it would, although i know it would take a ridiculous amount of time.


So saying that Hamlet is 150,000 characters long, and there is 30 possible keys (since aside from the 26 letters theyd really only need about 4 other keys) and a monkey can type 525,600 characters a year (just to shoot low and average at 1/min), how many years would it take?


I did it but im pretty sure I did it wrong.
Reply
Old Jan 16, 2008 | 05:44 PM
  #2  
05GT-O.C.D.'s Avatar
I lust for a M24
 
Joined: November 6, 2004
Posts: 7,042
Likes: 4
From: Football HOF, Canton OH
does the mokey just hit random keys? Are you trying to figure out how long it would take to put 150,000 characters in a certain order just by chance... like really big lottery?
Reply
Old Jan 16, 2008 | 05:52 PM
  #3  
ScottyBoy302's Avatar
Thread Starter
Cobra Member
 
Joined: August 20, 2005
Posts: 1,108
Likes: 0
From: BC
Yup, every key being a 1/30 chance. Itd get too complicated if you had to try and predict some kind of recurring pattern.
Reply
Old Jan 16, 2008 | 09:28 PM
  #4  
ewingfly's Avatar
GT Member
 
Joined: November 30, 2005
Posts: 128
Likes: 0
From: Detroit
Now I dont know if Im right, however I believe that the rate at which he types at is irrelevant unless you delete every incorrect stroke? Because if you do not the probability alone would be (1/30)^150,000. Which is a ridiculous number.

If you do delete the incorrect stroke you can determine a minimum and maximum time. The minumum would simply be 150,000/525,600. The maximum would be (30*150,000)/525,600.
Reply
Old Jan 16, 2008 | 10:31 PM
  #5  
ScottyBoy302's Avatar
Thread Starter
Cobra Member
 
Joined: August 20, 2005
Posts: 1,108
Likes: 0
From: BC
Yes, the min would be less than a quarter of a year, although thats not what im looking for. And there cant really be a maximum since theoretically it could go on ALMOST to infinity. Im looking for a theoretical average, and i think i got the same thing as you did (cant remember, i did i it yesterday while i was watching the hockey game), but for some reason it doesnt seem right...
Reply
Old Jan 23, 2008 | 11:28 AM
  #6  
boduke0220's Avatar
Cobra Member
 
Joined: March 3, 2007
Posts: 1,299
Likes: 1
From: North carolina
48.3




























Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
mmr007
Rocket City Mustang Club
4
Oct 27, 2007 07:35 PM
Doug@C&L
V6 Performance Mods
83
Jul 1, 2006 10:35 PM
rrobello
Off-Topic Chatter
68
Aug 24, 2005 08:33 AM




All times are GMT -6. The time now is 07:24 PM.