Answer and Step-by-step explanation:
P= the water is warm.
q = people are swimming.
r = the waves are not big.
Logical connectives are:
Not p = ¬p
P or q = p ∨ q
P and q = p ∧ q
If p, then q = p → q
P if and only if
q = p ↔ q
By using p, q, r and logic connectives and or not, we have:
1-water is warm and people are swimming.
= p ∧ q
2- If people are not swimming then water is not warm or waves are big.
= ¬q → ¬p v ¬r
3- if waves are big, water is warm then people are not swimming
= ¬r ∧ p → ¬q