document.write( "Question 769798: Larry made up a dice game. The rules state that if the roll, n is a prime number (2,3,5), then Larry will pay the player \"2%5En\", where as if the roll is not a prime number (1,4,6), the player pays Larry \"n%5E2\". Determine the probability distribution and determine the expectation of winning for this game. Please show all the work to get to the answer. \n" ); document.write( "
Algebra.Com's Answer #469025 by oscargut(2103)\"\" \"About 
You can put this solution on YOUR website!
Larry made up a dice game. The rules state that if the roll, n is a prime number (2,3,5), then Larry will pay the player \"2%5En\", where as if the roll is not a prime number (1,4,6), the player pays Larry \"n%5E2\". Determine the probability distribution and determine the expectation of winning for this \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Here is the work\r
\n" ); document.write( "\n" ); document.write( "Let W = winning \r
\n" ); document.write( "\n" ); document.write( "If n = 1 then the player pays larry 1 ( W = -1)
\n" ); document.write( "If n = 4 then the player pays larry 16 ( W = -16)
\n" ); document.write( "If n = 6 then the player pays larry 36 ( W = -36)\r
\n" ); document.write( "\n" ); document.write( "If n = 2 then larry pays to the player 4 ( W = 4)
\n" ); document.write( "If n = 3 then larry pays to the player 8 ( W = 8)
\n" ); document.write( "If n = 5 then larry pays to the player 32 ( W = 32)\r
\n" ); document.write( "\n" ); document.write( "Then the distribution of W is:\r
\n" ); document.write( "\n" ); document.write( "P(W = -1)=P(W=-16)=P(W=-36)=P(W=4)=P(W=8)=P(W=32)\r
\n" ); document.write( "\n" ); document.write( "EXpected value of W is: (-1-16-36+4+8+32)/6 = -9/6 = -1.5\r
\n" ); document.write( "\n" ); document.write( "You can ask me more at: mthman@gmail.com\r
\n" ); document.write( "\n" ); document.write( "Thanks
\n" ); document.write( " \r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );