Exercise

# Exercise 10. American Roulette comparison

In a previous exercise, you found the probability of winning more than $0 after betting on green 10,000 times using the Central Limit Theorem. Then, you used a Monte Carlo simulation to model the average result of betting on green 10,000 times over 10,000 simulated series of bets.

What is the probability of winning more than $0 as estimated by your Monte Carlo simulation? The code to generate the vector `S`

that contains the the average outcomes of 10,000 bets modeled 10,000 times has already been run for you.

Instructions

**100 XP**

- Calculate the probability of winning more than $0 in the Monte Carlo simulation from the previous exercise using the
`mean`

function. - You do
*not*need to run another simulation: the results of the simulation are in your workspace as the vector`S`

.