Professional Documents
Culture Documents
INSTRUCTIONS. Answers Can Either Be A.) Typewritten and Saved As A PDF File or B.)
INSTRUCTIONS. Answers Can Either Be A.) Typewritten and Saved As A PDF File or B.)
INSTRUCTIONS. Answers can either be a.) Typewritten and saved as a pdf file or b.)
Handwritten on a piece of paper and take a picture of it and save as an image file.
The hotel fees are not included and the meals are not included.
(c) e → t
(d) t ↔ ( g ∧ ∼ a)
We will go to Florence if and only if the meals are not included and the hotel fees
are not included.
(e) e ∧ t → ( a v ∼ g)
If the tour goes to Italy and we will go to Florence, then the hotel fees are included
and the meals are included.
IV. Construct the truth table for the statement: (p ∧ q) ∨ [∼ (p ∧ ∼ q) ∨ q]
(10 points)
p q (p ᴧ q) ∼q (p ᴧ ∼ q) ∼ (p ᴧ ∼ q) [∼ (p ∧ ∼ q) ∨ q] (p ∧ q) ∨ [∼ (p ∧ ∼ q) ∨ q]
T T T F F T T T
T F F T T F F F
F T F F F T T T
F F F T F T T T
V. Determine the truth value of the following logical tests, given the variable
values. Answers should be (True or False). Show your solution (20 points).
Solutions:
1.
(C+300 < A*D+10) (C+300 = A*D+10) ᴧ (D/2 ≠ 15) (C+300 ≤ A*D+10) ᴧ (D/2 ≠ 15)
110+300 < 40*10 +10 110+300 = 40*10 +11 10/2 ≠ 15 110+300 ≤ 40*10 +10 ᴧ 10/2 ≠ 15
410 < 400 + 10 411 = 400 + 10 5 ≠ 15 410 ≤ 400 +10 ᴧ 5 ≠ 15
2. 410 < 410 411 = 410 5≠ 15 410 ≤ 410 ᴧ 5 ≠ 15
F T ᴧ T F
3. F+C < 2 * (F + 25) ᴠ ~ (B + 20 < 50) ~ (B + 20 = 50)
125 + 110 < 2 * (125 + 25) ~ (29 + 20 < 50) ~ (29 + 20 = 50)
235 < 2* 150 ~ (49 < 50) ~ (49 = 50)
235 < 300 ~ (T) ~ (F)
T ᴠ F T
F+C < 2*(F+25) ᴠ (~ [ B+20 ≤ 50])
125+100 < 2*(125+25) ᴠ (~ [29 + 20 ≤ 50)
235 < 2*150 ᴠ (~ [49 ≤ 50])
235 < 300 ᴠ (~ [49 ≤ 50])
T
5. A+D ≠ 2*(F/5)
40+10 ≠ 2*(125/5)
50 ≠ 2*(25)
50 ≠ 50
F
6. ~ (A+15*D/5 = C)
~ (40+15*10/5 = 110)
~ (55*2 = 110)
~ (110 = 110)
~ (T)
F