The expected value is given by the average of all the possible values weighted by their probability.
The mean instead is the actual mean value you have after N runs.
Statistically: Mean-->Expected Value for N-->infinite.
Of course if you calculate the expected value and the mean on a finite set of value the two calculation will give the same result.