Guess which number Cody is thinking (1 to 10)?
(This is a game of luck more than skill. Good luck!)
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/
Number of 1s in a binary string
sum of non-primes
04 - Scalar Equations 1
07 - Common functions and indexing 5
Is this triangle right-angled?
Help the Patriots get to the Super Bowl
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office