Hi there ,
I have some simple (on 1st look) questions. I just need some help.

1st question.
I think the expected value should be 150 since the probability of getting a head is 1/2 .. 300x1/2 = 150 so the mean should also be 150.
the variance i think is 1/2x1/2x300 = 75
2nd question.
Here I have something for 6 eggs with 2 bad and 4 good.. but when I use the same logic for 600 eggs total, 20 bad I get very big number. So my logic for 6 eggs 4 good 2 bad is:
Let X be the number of bad eggs picked. If X=0, we have 4/6x3/5= 6/15 =2/5
P(X-1)= 4/6x2/5 + 2/6x4/5 =8/15
P(X=2) = 1/15 so the EX is 0x6/15+1x8/15+2x1/15 = 2/3
But how I can use this logic for the bigger problem?
3rd question
Why do we have to care about the 1st line? Since the probability of picking one of the 2 coins is 1/2.
a) 2 heads P(HHT)+P(THH)+P(HTH)=3/8?
b)if the 1st one is heads so we need one head out of 2 flips so isnt it just 1/2?
or I am missing something here?
4th question
I think it will be better to start from part b)
b) I think the length function is f(x)=min(x,1-x) as x is on the interval [0,0.5] and 1-x is on the interval [0.5,1], We have to find E(f(X)) which is equal to:

a) from part b) since the average size is 1/4 it can be either left or right segment. So the left can be either 1/4 or 3/4
c) don't have idea about this question.. intuitively think something about 2/3
but cannot explain why
Thanks