• edited by
21,454 views
75 75 votes

Let $p, q, r$ denote the statements ”It is raining”, “It is cold”, and “It is pleasant”, respectively. Then the statement “It is not raining and it is pleasant, and it is not pleasant only if it is raining and it is cold” is represented by

  1. $(\neg p \wedge r) \wedge (\neg r \rightarrow (p \wedge q))$
  2. $(\neg p \wedge r) \wedge ((p \wedge q) \rightarrow  \neg r)$
  3. $(\neg p \wedge r) \vee ((p \wedge q) \rightarrow  \neg r)$
  4. $(\neg p \wedge r) \vee (r \rightarrow (p \wedge q))$

11 Answers

Best answer
83 83 votes
1. "It is not raining and it is pleasant" can be written as $(¬p∧r)$

2. Now, "it is not pleasant only if it is raining and it is cold" is represented by $¬r\implies (p∧q)$  but $(p∧q) \not\implies ¬r $. Why? Because if it is not pleasant then we can conclude it must be raining and it is cold. However, it is raining and cold does not assure that it will be unpleasant. i.e., $p$ only if $q$ can be written as if $p$ then $q$ (not double implication).

So, ANDing clause $1.$ and $2.$ we get $(¬p∧r)∧(¬r→(p∧q))$

option A is correct.
• edited by
47 47 votes

it is not pleasant only if it is raining and it is cold

it is not pleasant ---> ¬r

t is raining and it is cold----> (p∧ q)

therefore it becomes  (¬r→(p∧q))

2 2 votes

Translation of each formula into english statements :

(p’ $\wedge$ r) :- (not p) and r :- It is not raining and it is pleasant.

r’ → (p $\wedge$ q) :- (If not r, then p and q) $\equiv$ (not r only if p and q) $\equiv$ It is not pleasant only if it is raining and it is cold.

(p $\wedge$ q) → r’ :- (If p and q, then not r) $\equiv$ (p and q only if not r) $\equiv$ It is raining and it is cold only if it is not pleasant.

r → (p $\wedge$ q) :- (If r, then p and q) $\equiv$ (r only if p and q) $\equiv$ It is pleasant only if it is raining and it is cold.

  1. “It is not raining and it is pleasant, and it is not pleasant only if it is raining and it is cold”
  2. “It is not raining and it is pleasant, and it is raining and it is cold only if it is not pleasant”
  3. “Either It is not raining and it is pleasant, or it is raining and it is cold only if it is not pleasant”
  4. “Either It is not raining and it is pleasant, or it is pleasant only if it is raining and it is cold”
1 1 vote

p = ”It is raining”

q =  “It is cold”

r = “It is pleasant”

It is not raining and it is pleasant = ~p ∧ r

x only if y can be written as x→y

 it is not pleasant only if it is raining and it is cold) = ~r→(p ∧ q)

“(It is not raining and it is pleasant), and it is not pleasant only if (it is raining and it is cold)” =   (¬p∧r)∧(¬r→(p∧q))             

So Option A             

 

Answer:
Position:
Show:

Related questions

246 246 votes
26 answers 26 answers
119k
119k views
Madhav asked Feb 14, 2017
118,558 views
Two transactions $T_1$ and $T_2$ are given as$T_1:r_1(X)w_1(X)r_1(Y)w_1(Y)$$T_2:r_2(Y)w_2(Y)r_2(Z)w_2(Z)$where $r_i(V)$ denotes a $\textit{read}$ operation by transaction...
58 58 votes
6 answers 6 answers
28.1k
28.1k views
Madhav asked Feb 14, 2017
28,122 views
Consider the recurrence function$$T(n) = \begin{cases} 2T(\sqrt{n})+1, & n>2 \\ 2, & 0 < n \leq 2 \end{cases}$$Then $T(n)$ in terms of $\Theta$ notation is$\Theta(\log \l...
88 88 votes
12 answers 12 answers
28.6k
28.6k views
Madhav asked Feb 14, 2017
28,630 views
If the characteristic polynomial of a $3 \times 3$ matrix $M$ over $\mathbb{R}$ (the set of real numbers) is $\lambda^3 – 4 \lambda^2 + a \lambda +30, \quad a \in \math...
50 50 votes
6 answers 6 answers
15.1k
15.1k views
Madhav asked Feb 14, 2017
15,144 views
Consider the following languages.$L_1 = \{a^p \mid p \text{ is a prime number} \}$$L_2 = \{ a^nb^mc^{2m} \mid n \geq 0, m \geq 0 \}$$L_3 = \{a^n b^n c^{2n} \mid n \geq 0 ...