Problem 44254. Probability of red tulips (at both ends of a row)
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 commentsProblem Recent Solvers55
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6162 Solvers
-
Find state names that end with the letter A
1173 Solvers
-
Project Euler: Problem 1, Multiples of 3 and 5
3118 Solvers
-
632 Solvers
-
Convert given decimal number to binary number.
2028 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!