I am not currently in university, but I am going through a discrete mathematics text book from when I was in university. In the text book examples, there was a problem that I looked through and I thought it would be good to apply a truth table to it. I am unsure about my answer, so please let me know if I got something wrong. Here is the statement which I'm using to create the truth table.
'You cannot ride the roller coaster if you are under four feet tall unless your are older then 16 years old.'
If we break this down, we get the propositional variables q(You can ride the roller coaster), r(You are under four feet tall) and s(You are older than sixteen years old).
We can use these to create the propositional statement (r ^ ¬s) ⇒ ¬q
Here is the truth table I have formulated.
\begin{array}{|c|c|c|c|c|} \hline r & s & (r \land ¬s) & ¬q & (r \land ¬s) \rightarrow \neg q \\ \hline T & T & T & T & T \\ T & F & F & F & T \\ F & T & F & T & T \\ F & F & F & F & T \\ \hline \end{array}
After looking through this truth table, I noticed that there was a missing condition in the final conditional statement, specifically, if (r ^ ¬s) is T and ¬q is F. Therefore, I created a new truth table as seen below.
\begin{array}{|c|c|c|} \hline (r \land ¬s) & \neg q & (r \land ¬s) \rightarrow ¬q \\ \hline T & T & T \\ F & T & T \\ T & F & F \\ F & F & T \\ \hline \end{array}
Thoughts? The book did not ask for a truth table, but I thought I would write one out anyway. Are there any corrections that should be made?
