Using The Random Function to predict Things
- To: mathgroup at smc.vnet.net
- Subject: [mg62959] Using The Random Function to predict Things
- From: mathuser <fieryashish at gmail.com>
- Date: Fri, 9 Dec 2005 05:10:39 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Hi there friends... I used this line of code "typicalList = Table[Random[Integer], {50}]" and got this result... {1, 0, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, \ 0, 0, 1, 0, 0, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 1, 0, 1} By generating a few more of these random lists, I'm to predict a similiar situation: such as how long i would expect to wait for 3 heads in a coin tossing competition... any suggestion or help as to what code i could use to do this? thanks a lot guys