I planted tulip bulbs in a row on my flower bed. I thought that I had planted white tulips all. However, later, it turned out that two RED tulip bulbs had been mixed in the planted bulbs!
Input (x): Number of all bulbs
Output (y): The probability that RED tulips will bloom at BOTH ENDs of the row.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers66
Suggested Problems
-
Find the alphabetic word product
3468 Solvers
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
2049 Solvers
-
16778 Solvers
-
Number of 1s in a binary string
11366 Solvers
-
Rounding off numbers to n decimals
5714 Solvers
More from this Author7
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!