document.write( "Question 1151738: In a state lottery a five-digit integer is selected at random. If a player
\n" ); document.write( "bets 1 dollar on a particular number, the payoff (if that number is selected)
\n" ); document.write( "is $500 minus the $1 paid for the ticket. Let X equal the payoff to the better.
\n" ); document.write( "Find the expected value of X.
\n" ); document.write( "

Algebra.Com's Answer #773587 by Boreal(15235)\"\" \"About 
You can put this solution on YOUR website!
The probability of winning is 1/99999 and that payoff is (500-1)/99999 or 0.00499
\n" ); document.write( "The probability of losing is 99998/99999 and that loss is that fraction or -0.99999 which really rounds to 1.00
\n" ); document.write( "so the expected value is - 1-0.00499 or -$0.99501 or -$0.995.
\n" ); document.write( "Note that I am not using 0 here.
\n" ); document.write( "
\n" );