How can sentence be translated into a logical expression ?
"You can't ride the roller coaster if you are under 4 feet tall unless you are older than 16 years old".
Can answer be (!s->r)->!q
Where
q= You can ride the roller coaster
r=You are under 4 feet tall
s= You are older than 16 years old
"you cannot ride the roller coaster if you are under 4 feet tall unless you are older than 16 years old"
you cannot ride the roller coaster if you are under 4 feet tall Same as if you are under 4 feet tall then you cannot ride the roller coaster
Now statement will be
if you are under 4 feet tall then you cannot ride the roller coaster unless you are older than 16 years old.
(r $\rightarrow$ (~q)) unless s
~s $\rightarrow$ (r $\rightarrow$ (~q))
(s v (~r v (~q))
(s v ~r v (~q))
(~s $\wedge$ r) $\rightarrow$ ~q
I have done in this way please tell me where I am wrong
If x then y unless z (x Λ ~z) --> y "You can't ride the roller coaster if you are under 4 feet tall unless you are older than 16 years old".
q= You can ride the roller coaster r=You are under 4 feet tall s= You are older than 16 years old (r Λ ~ s)--> ~q should be the answer!
“You cannot ride the roller coaster if you are under 4 feet tall unless you are older than 16 years old.”
Let $p,q,r$ be the following propositions :
$p:$ “You can ride the roller coaster.”
$q:$ “You are under 4 feet tall.”
$r:$ “ You are older than 16 years old.”
Now, Let's Express the sentence in terms of propositions $p, q,$ and $r$ :
$(q ∧ ¬r) → ¬p$
Let:
64.3k questions
77.9k answers
244k comments
80.0k users