Discrete PeTa
Discrete PeTa
Schlitz R. Hemady
BI205
Translate “You can graduate only if you have completed the requirements of your major,
you do not owe money to the college, and you do not have an overdue book” into a
propositional logic
2. Show by the use of the truth table (truth matrix) that the
Answer:
Answer:
p q r ¬p q→r ¬p → (q pVr q → (p V
→ r) r)
0 0 0 1 1 1 0 1
0 0 1 1 1 1 1 1
0 1 0 1 0 0 0 0
0 1 1 1 1 1 1 1
1 0 0 0 1 1 1 1
1 0 1 0 1 1 1 1
1 1 0 0 0 1 1 1
1 1 1 0 1 1 1 1
Since both ¬p → (q → r) and q → (p V r) seem to share the same truth values they are
logically equivalent to each other.