Assignment 2 Mat210
Assignment 2 Mat210
MAT210
DISCRETE MATHEMATICS
ASSIGNMENT 2
PAST YEAR QUESTION - MARCH 2012
Group Members:-
NAME MATRIC NO.
Siti Hajar Nabila Binti Baharuddin 2018292728
Muhammad Aqil Anwar Bin Mohd Rosman 2018411666
Nurul Fatihah Binti Mohd Razale 2018220708
Lecturer’s Name:
Madam Noraini Binti Hasan
Submission Date:
17th January 2021
MAR4CH 2012
a)Consider the logical statement : [ ( ¬ p ∨ q) ∧ ¬ p] ∨ [ ( ¬ p ∧ q) ∨ ¬ q ]
i) Sketch a network to represent it.
Answer :
ii)Use a truth table to show that the above statement is logically equivalent to ¬ (p ∧ q).
Answer :
( ¬ p ∨ q) ∧ ¬ p ∨ ( ¬ p ∧ q) ∨ ¬ q
p q ¬p ¬p∨q ( ¬ p ∨ q) ¬p∧q ( ¬ p ∨ q) ∧ ¬ p ∨ ( ¬q ( ¬ p ∨ q) ∧ ¬ p ∨ ( ¬ p ∧ q) ∨ ¬ q
∧¬p ¬ p ∧ q)
F T F F F F F F F
F F F F F F F T T
T T T T T T T F T
T T T F T F T T T
¬ (p ∧ q)
p q p∧q ¬ (p ∧ q)
T T T F
T F F T
F T F T
F F F T
b) Given the following argument :
“Devork gets a raise if and only if he works hard. Devork buys a new car if he gets a raise.
Devork does not buy a new car.”
i)Write the three primary propositions using the variable p,q and r
ii)Write all the premises by using the variables in (i).
iii)Find the logical conclusion of the argument by using the rules of inference.
Answer :
i) p : Devork gets a raise
q : He works hard
r : Devork buys a new car
ii) P1 : p q
P2 : r p
P3 : ~ r
iii)
1. pq Premise 1
2. rp Premise 2
3. ~r Premise 3
4. rq 1,2 Syllogism
5. ~q 4,3 Modens Tollens