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
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