A new slot machine is put in that either takes your $1,
returns $2 (gain of a dollar) or returns $100 (gain of $99). The
probability distribution table is given below.
x
p(x)
-1
0.7
1
0.299
99
0.001
Determine the expected value and standard deviation for this
machine.