For example, chance is 100% for minimum 0 heads when a coin is tossed 7 times.
Chance is 50% for minimum 2 heads when a coin is tossed 3 times.
Chance is 0% for minimum 12 heads when a coin is tossed 11 times.
this problem could use some nontrivial testcases
Times 2 - START HERE
Make the vector [1 2 3 4 5 6 7 8 9 10]
Make a checkerboard matrix
Volume of a Parallelepiped
Have you seen any Spindromes recently?
Predicting life and death of a memory-less light bulb
Dancing with wolves?
Multiply to the limit?
How many palindromes?
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