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 Solvers65
Suggested Problems
-
Project Euler: Problem 7, Nth prime
1753 Solvers
-
Project Euler: Problem 9, Pythagorean numbers
1385 Solvers
-
Create an index-powered vector
941 Solvers
-
Element by element multiplication of two vectors
397 Solvers
-
422 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!