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/
Sum all integers from 1 to 2^n
8412 Solvers
Sum the 'edge' values of a matrix
232 Solvers
Convert given decimal number to binary number.
636 Solvers
Finding perimeter of a rectangle
278 Solvers
Sum the squares of numbers from 1 to n
163 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!