3,252 views
5 votes
5 votes

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

4 Answers

Best answer
3 votes
3 votes

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!

selected by
3 votes
3 votes
Let Q :you can ride roller coaster

R : you are under 4 ft tall

S: you are older than 16 years old

(R AND (NOT S))--> NOT (Q)
1 votes
1 votes

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

0 votes
0 votes

Let:

  • P stands for "you can ride the roller coaster"
  • Q stands for "you are under 4 feet tall"
  • R stands for "you are older than 16 years old"
  • (Q  OR R) -> P'
  • should n't this be answer here
edited by

Related questions

0 votes
0 votes
2 answers
4
kaleen bhaiya asked Jan 23, 2022
17,505 views
From where can i get full solution of Discrete Mathematics and Its Applications by Kenneth H. Rosen ?