document.write( "Question 1134365: One state lottery has
\n" ); document.write( "1200 prices $1
\n" ); document.write( "120 prices $10
\n" ); document.write( "25 prices $65
\n" ); document.write( "5 prices $345
\n" ); document.write( "2 prices $1200
\n" ); document.write( "1 price $2700
\n" ); document.write( "Assuming 28,000 lottery tickets are issued and sold for $1\r
\n" ); document.write( "\n" ); document.write( "What is the lottery expected profit per ticket?
\n" ); document.write( "What is the standard deviation of profit per ticket?
\n" ); document.write( "

Algebra.Com's Answer #752077 by Boreal(15235)\"\" \"About 
You can put this solution on YOUR website!
I will assume the prize of $1 means the person gains or loses nothing because they paid $1 to play. If that isn't the case, the answer will be different.
\n" ); document.write( "Expected value is sum of x*p(x)
\n" ); document.write( "=1200*0+120*9+25*64+5*344*2*1199*2699-26647*1, the losers
\n" ); document.write( "=-17150. This is the loss, so the profit is the positive number, which is divided by the number of tickets, or $0.6125\r
\n" ); document.write( "\n" ); document.write( "sd is sqrt [sum of number * deviation^2]/n-1
\n" ); document.write( "This is .6125^2*1200+9.6125^2*120+64.6125^2*25+344.6125^2*5+2*1199.6125^2+2699.6125^2+26647*0.3875^2/27999
\n" ); document.write( "notice that the last is the difference between the average profit of 0.61 and the profit of $1. The others are $1 less + the profit, taking into account the people have already paid $1.
\n" ); document.write( "that sum is 10904114.62
\n" ); document.write( "after dividing and taking the square root, the sd is $19.73
\n" ); document.write( "
\n" ); document.write( "
\n" );