You are on page 1of 3

Ass2

1
S=’ select randomly 2 balls”
0<=X<=3
2
X={H,T}

3 n=2
X={ H,H}, {T,T},{ T,H}, {H,T}

4
A, Max value = 12
B, Min = 2
C, sum of 2 roll = { 2,3,4,….,12}
D, first roll minus second roll ={ -5 , -4, -3 , .., 5}

5
When the outcomes is Head, Jp = 1
P(Jp 1) = ½

P(0)=(0.3)^3=0.027
P(1)=3(0.3)^2x(0.7)=0.189
P(2)=3(0.3)x(0.7)^2 =0.441
P(0)=(0.7)^3 =0.343

10
Total out comes = 6x6x6 = 216
The probability of the triple = 6/216 = 1/36

11
3 whites , 3 blacks

P(X=2) = (4C2) x (1/2)^2 x (1/2)^2= 3/8

12
13

14
N=6,p=½
Q= 1- ½ = ½
P(X=x)= 6Cx * (1/2)^x
The most likely outcomes is X=3

16
x−np 4.5−160∗0.05
z= = =−1,27 …
√ n p (1− p) √ 160∗0.05∗(1−0.05)
P(x>5) = 0.89

20
21

E(X)=12(1+E(X|H))+12(1+E(X|T))E(X)=12(1+E(X|H))+12(1+E(X|T))
E(X|H)=12(1+E(X|HH))+12E(X|H)=12(1+E(X|HH))+12(1+E(X|HT))(1+E(X|HT))
Similar to above, E(X|HT))=E(X)E(X|HT))=E(X)
Also, note that E(X|HH)=0E(X|HH)=0, since I need no more additional flips.
So now, I am left with the following equations:
E(X)=12(1+E(X|H))+12(1+E(X))E(X)=12(1+E(X|H))+12(1+E(X))
E(X|H)=12(1+0)+12(1+E(X))E(X|H)=12(1+0)+12(1+E(X))
And this is just a simple systems of equations, that when solved gives me

E(X)=6

27
80
E( ∑ Xn)
1

Since our random variables are bernoulli, we


have E(Xn)=P(Xn=1)E(Xn)=P(Xn=1). Therefore, we substitute into
the expression.
∑n=180P(Xn=1)∑n=180P(Xn=1)
For us to have a sequence of THH starting on flip n, we must have T
on flip n, then HH on the following 2 flips. Since the coin is a fair
coin, that gives us P(Xn=1)=1/8P(Xn=1)=1/8 for n from 1 to 80.
∑n=10

You might also like