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
-
Program an exclusive OR operation with logical operators
705 Solvers
-
Project Euler: Problem 8, Find largest product in a large string of numbers
1035 Solvers
-
386 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1009 Solvers
-
Finding perimeter of a rectangle
443 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!