And this is why I don't gamble: Twenty-two consecutive incorrect answers using randi(10).
p=.0985 (ns), now if someone makes it to 29 consecutive wrong answers that would be some significant bad luck :)
There's an XKCD about results like this: http://xkcd.com/1478/
1763 Solvers
516 Solvers
309 Solvers
856 Solvers
Determine if input is divisible by three.
162 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!