2. There are two statement variables so the truth table will have 4 rows. Start by filling in the four possible combinations of truth values for p and q.
| p | q | ~p | q L ~p | p |
||
| T | T | |||||
| T | F | |||||
| F | T | |||||
| F | F |
Now use the truth values in column 1 and the definition of ~ to fill in column 3.
| p | q | ~p | q L ~p | p |
||
| T | T | F | ||||
| T | F | F | ||||
| F | T | T | ||||
| F | F | T |
Now use columns 2 and 3, and the definition of L to fill in column 4.