document.write( "Question 129662: Long-term history has shown that 65% of all elected offices in a rural county have been won by Republican candidates. This year there are 5 offices up for public election in the county Let r be the number of public offices won by Republicans.
\n" ); document.write( " a) Find P(r) for r=0,1,2,3,4, and 5
\n" ); document.write( " b) Make a histogram for the r probability distribution.
\n" ); document.write( " c) What is the expected number of Republicans who will win office in the coming election?
\n" ); document.write( " d) What is the standard deviation of r?
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #94657 by stanbon(75887)\"\" \"About 
You can put this solution on YOUR website!
Long-term history has shown that 65% of all elected offices in a rural county have been won by Republican candidates. This year there are 5 offices up for public election in the county Let r be the number of public offices won by Republicans.
\n" ); document.write( "a) Find P(r) for r=0,1,2,3,4, and 5
\n" ); document.write( "P(1) = 0.65
\n" ); document.write( "P(2) = 5C2(0.65)(0.35)^2 =0.1811...
\n" ); document.write( "P(3) = 5C3(0.65)^2(0.35)=0.3364...
\n" ); document.write( "etc.
\n" ); document.write( "b) Make a histogram for the r probability distribution.
\n" ); document.write( "c) What is the expected number of Republicans who will win office in the coming election?
\n" ); document.write( "Random variable values are........1.....2........3..........4.........5..
\n" ); document.write( "Associated probabilities are.....0.65..0.181....0.3364....0.3123...0.116
\n" ); document.write( "To find the expected value ADD the PRODUCTS of each value and its probability.
\n" ); document.write( "The answer I get using a TI calculator is E(x)= 3
\n" ); document.write( "-----------------------
\n" ); document.write( "d) What is the standard deviation of r?
\n" ); document.write( "You have the x-values; you have the P(x) values
\n" ); document.write( "The formula for the standard deviation is sqrt[[Ex^2*P(x)]-mu^2]]
\n" ); document.write( "or you could use the following:
\n" ); document.write( "std = sqrt[E(x-u)^2*P(x)]
\n" ); document.write( "-------
\n" ); document.write( "The answer I get using a TI calculator is std = 0.184478...\r
\n" ); document.write( "\n" ); document.write( "---------
\n" ); document.write( "Note: I typed E where there should be a summation sign.
\n" ); document.write( "-----------
\n" ); document.write( "Cheers,
\n" ); document.write( "Stan H.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );