Problem 58688. Bag of apples
find probabilty of getting red apples from a bag of 'r' red and 'g' green apples.
Solution Stats
Solution Comments
Show commentsProblem Recent Solvers51
Suggested Problems
-
Return a list sorted by number of occurrences
2888 Solvers
-
2262 Solvers
-
Return the first and last characters of a character array
11713 Solvers
-
382 Solvers
-
596 Solvers
More from this Author2
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!