
Mahsa,
Your handwriting is very pleasant to read.
Michael

Q1  -- There is simpler way; just calculate the 
     sum of x Pr(X=x)  = 0 + 1x5/2^5 + 2x10/2^5 + 3x10/2^5 + 4x5/2^5 + 5x1/2^5 = 5/2.

     Please do it that way. That's how I intended it to be done.
     As an alternative - some students will do it this way -

     You could just say X is binomially distributed with n=5 and p=1/2
     so E(X) = np = 5/2 rather than giving a detailed answer.

Q2  agree

Q3  The proof of 3(a) is not right because a does not have to be a positive integer.
    a can be any real number.   Just copy my solution from last year.

    Part (b) is correct.

Q4  (a) Agree
    (b) I don't agree.  I get that the player makes a loss.
        If they play 13 times they expect to win once so $10 but it costs them $13.
        So for 13 tries they lose $3.
        So for 20 tries the expected earnings is 20/13 * (10-13) = -$4.62

Q5  Right.  But write subsituting x = p and y = 1-p we have

Q6  Agree.

Q7  You should simplify then evaluate the probabilities to a decimal.
    I want to see how much difference the biased coin makes.

Q8   Agree.  Could you add for the last bit that 
        "Using the approximation we get" E(X) ~= 3.6789


Q9  This is the coupon collectors problem with n = 5 coupons.
    Letting T be the number of free meals we need to get before
    we get one at all 5 restaurants, we have
    E(T) = n ( 1/n + 1/(n-1) + ... + 1/2 + 1/1 )
         = 5 ( 1/5 + 1/4 + 1/3 + 1/2 + 1 )
         = 137/12 = 11.4

Q10  Agree

Q11 Agree with recurrence, initial value and working.
    Please evaluate c_10 and c_100 to exact integers so the students
     can see that the algorithm is quadratic in n.

Q12 (a) Agree
    (b) is wrong - you copied 1.2^n down wrong as 10^n
    It should be 560,000 = 56,000 (1.2)^n .  Solving this I get 12.63 weeks.

Q13 (a) Please simplify the final answer.
    (b) Write using the formula \sum_{k=1}^n k^2 = n(n+1)(2n+1)/6

Q14  Agree with recurrence.  
     Write down the initial value a_1 = 1 somewhere clearly.
     Simplify the final answer.
     I get (Maple gets) (3n^2-n)/2

Q15  The recurrence is wrong.  It should be c_n = 2 c_{n-1} + 2 c_{n-2}.
     I.e.  Rx or Gx where x is a path on n-1 vertices
     or    BRy or BGy where y is a path is n-2 vertices


