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 67 — #75<br />

3.7. References 67<br />

Translate following assertions into propositional <strong>for</strong>mulas using P , Q, R and<br />

the propositional connectives AND; NOT; IMPLIES.<br />

(a) You get an A in the class, but you do not do every exercise in the book.<br />

(b) You get an A on the final, you do every exercise in the book, and you get an A<br />

in the class.<br />

(c) To get an A in the class, it is necessary <strong>for</strong> you to get an A on the final.<br />

(d) You get an A on the final, but you don’t do every exercise in this book; nevertheless,<br />

you get an A in this class.<br />

Class Problems<br />

Problem 3.3.<br />

When the mathematician says to his student, “If a function is not continuous, then it<br />

is not differentiable,” then letting D stand <strong>for</strong> “differentiable” and C <strong>for</strong> continuous,<br />

the only proper translation of the mathematician’s statement would be<br />

NOT.C / IMPLIES NOT.D/;<br />

or equivalently,<br />

D IMPLIES C:<br />

But when a mother says to her son, “If you don’t do your homework, then you<br />

can’t watch TV,” then letting T stand <strong>for</strong> “can watch TV” and H <strong>for</strong> “do your<br />

homework,” a reasonable translation of the mother’s statement would be<br />

NOT.H / IFF NOT.T /;<br />

or equivalently,<br />

H IFF T:

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

Saved successfully!

Ooh no, something went wrong!