06.03.2017 Views

Mathematics for Computer Science

e9ck2Ar

e9ck2Ar

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

“mcs” — 2017/3/3 — 11:21 — page 843 — #851<br />

19.5. Linearity of Expectation 843<br />

Class Problems<br />

Problem 19.21.<br />

A classroom has sixteen desks in a 4 4 arrangement as shown below.<br />

If there is a girl in front, behind, to the left, or to the right of a boy, then the two<br />

flirt. One student may be in multiple flirting couples; <strong>for</strong> example, a student in a<br />

corner of the classroom can flirt with up to two others, while a student in the center<br />

can flirt with as many as four others. Suppose that desks are occupied mutually independently<br />

by boys and girls with equal probability. What is the expected number<br />

of flirting couples? Hint: Linearity.<br />

Problem 19.22.<br />

Here are seven propositions:<br />

Note that:<br />

x 1 OR x 3 OR x 7<br />

x 5 OR x 6 OR x 7<br />

x 2 OR x 4 OR x 6<br />

x 4 OR x 5 OR x 7<br />

x 3 OR x 5 OR x 8<br />

x 9 OR x 8 OR x 2<br />

x 3 OR x 9 OR x 4<br />

1. Each proposition is the disjunction (OR) of three terms of the <strong>for</strong>m x i or the<br />

<strong>for</strong>m x i .

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!