Answer:
0.9986 = 99.86% probability that you win less than 40
Explanation:
Binomial probability distribution
Probability of exactly x sucesses on n repeated trials, with p probability.
Can be approximated to a normal distribution, using the expected value and the standard deviation.
The expected value of the binomial distribution is:

The standard deviation of the binomial distribution is:

Normal probability distribution
Problems of normally distributed distributions can be solved using the z-score formula.
In a set with mean
and standard deviation
, the zscore of a measure X is given by:

The Z-score measures how many standard deviations the measure is from the mean. After finding the Z-score, we look at the z-score table and find the p-value associated with this z-score. This p-value is the probability that the value of the measure is smaller than X, that is, the percentile of X. Subtracting 1 by the pvalue, we get the probability that the value of the measure is greater than X.
When we are approximating a binomial distribution to a normal one, we have that
,
.
The probability of winning a slot machine is 5% and you are going to play 500 pulls.
This means that

Mean and Standard deviation:


What’s the probability that you win less than 40?
Using continuity correction, this is P(X < 40 - 0.5) = P(X < 39.5), which is the pvalue of Z when X = 39.5. So



has a pvalue of 0.9986
0.9986 = 99.86% probability that you win less than 40