You arrive at the beach for a vacation and are dismayed to l
You arrive at the beach for a vacation and are dismayed to learn that the local weather
station is predicting a 50% chance of rain every day. Using Monte Carlo simulation,
predict the chance that it rains three consecutive days during your vacation. USE MAPLE
Solution
probability for rain on a day =0.50
Rain for each day is independent
Prob for 3 consecutive days = (0.5)(0.5)(0.5) = 0.125

