


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Exam; Professor: Williams; Class: Discrete Mathematics; Subject: Mathematics; University: University of California - Berkeley; Term: Spring 2009;
Typology: Exams
1 / 4
This page cannot be seen from the preview
Don't miss anything!



strings of length m + n having m zeros. That number is the binomial coefficient
(m+n m
. [# 33 in §5.4, page 369]
(b) The expected number of hats that are returned correctly equals 1 , regardless of how many people check their hats at the opera. This is derived from linearity of expectation in Example 6 of §6.4 on page 430.
p(D 3 |E) =
p(E|D 3 )p(D 3 ) p(E|D 1 )p(D 1 ) + p(E|D 2 )p(D 2 ) + p(E|D 3 )p(D 3 )
So, the answer is p(E|D 1 ) = (^) (1/6)(1/3)+(1(1//2)(16)(1//3)3)+(1/2)(1/3) = 3 / 5.
(a) 2(
4 2 ) = 2^6 = 64 (b) 2(
3 2 ) = 2^3 = 8 (c) 2^9 − 2 · 23 ·^2 = 512 − 128 = 384.