A coin was flipped 5 times end the number of heads recorded
Solution
4. a coin was flipped 5 times and the number of heads recorded after each toss was recorded.
a) so here n=number of trials=number of times the coin was flipped=5 [answer]
b) p=probability of success=probability of obtaining head=1/2 [as there are only two outcomes \"head\" or \"tail\"] [answer]
c) q=probability of failure=1-p=1-1/2=1/2 [answer]
let X denote the total number of heads obtained.
so here X follows a Binomial distribution with parameters n=5 and p=0.5
so X~Bin(5,0.5)
so pmf of X is P[X=x]=5Cx0.5x(1-0.5)5-x=5Cx0.55 x=0,1,2,3,4,5
d) so P[all five tosses produced a head]=P[X=5]=5C50.55=0.03125 [answer]
e) P[ at least one toss was a head]=P[X>=1]=1-P[X=0]=1-5C00.55=1-0.03125=0.96875 [answer]
f) X follows a Binomial distribution with parameters 5 and 0.5
now for a Binomial (n,p) distribution the expected value is np
here n=5 p=0.5
so the expected value(mean) of the distribution is
E[X]=5*0.5=2.5 [answer]
g) for a binomial (n,p) distribution the variance is np(1-p)
here n=5 p=0.5
so the variance is V[X]=5*0.5*0.5=1.25
hence the standard deviation of the distribution is sqrt(V[X])=sqrt(1.25)=1.118 [answer]
