Write the following formulas using the Markdown equation editing feature (LaTeX / Mathematics).
| # | text | formula |
|---|---|---|
| 1 | IF (P AND Q) THEN R | |
| 2 | (P XOR Q) OR R | |
| 3 | NOT P IFF Q | |
| 4 | FOR ALL x, P(x) | |
| 5 | THERE EXISTS AN x, NOT Q(x) | |
| 6 | IF P THEN Q EQUIVALENT TO NOT P OR Q | |
| 7 | Euler's Identity | |
| 8 | SUM of n from 1 to 100 Equals 5050 |
Using the propositions:
-
$p$ = "I study" -
$q$ = "I will pass the course" -
$r$ = "The professor accepts bribes"
-
If I do not study, then I will only pass the course if the professor accepts bribes. Formula:
$\neg p \rightarrow (q \rightarrow r)$ -
If the professor accepts bribes, then I do not study. Formula:
$r \rightarrow \neg p$ -
The professor does not accept bribes, but I study and will pass the course. Formula:
$\neg r \wedge (p \wedge q)$ -
If I study, the professor will accept bribes and I will pass the course. Formula:
$p \rightarrow (r \wedge q)$ -
I will not pass the course but the professor accepts bribes. Formula:
$\neg q \wedge r$