https://github.com/kyle-west/truthfulness
🧮 This is a truth table generator I am making for fellow students to use in my Discrete Math Class.
https://github.com/kyle-west/truthfulness
descrete-math javascript truth-table
Last synced: 3 months ago
JSON representation
🧮 This is a truth table generator I am making for fellow students to use in my Discrete Math Class.
- Host: GitHub
- URL: https://github.com/kyle-west/truthfulness
- Owner: kyle-west
- License: mit
- Created: 2018-01-25T17:42:25.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-27T01:09:57.000Z (over 7 years ago)
- Last Synced: 2025-01-10T04:24:19.134Z (5 months ago)
- Topics: descrete-math, javascript, truth-table
- Language: JavaScript
- Homepage: https://kyle-west.github.io/truthfulness
- Size: 43.9 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# truthfulness
This is a Truth Table Generator I am making for fellow students to use in my Discrete Math Class. [You may access it here](https://kyle-west.github.io/truthfulness)## Example
Lets evaluate the expression: `p ∧ ¬q`. The Truth Table Generator will result with the following table.
```
| p | q | ¬q | p∧¬q |
|---+---+----+------|
| 0 | 0 | 1 | 0 |
| 0 | 1 | 0 | 0 |
| 1 | 0 | 1 | 1 |
| 1 | 1 | 0 | 0 |
```We can also view the table with the results inline to the expression (accessed via the settings menu) like so:
```
| p | ∧ | ¬ | q |
|---+---+---+---|
| 0 | 0 | 1 | 0 |
| 0 | 0 | 0 | 1 |
| 1 | 1 | 1 | 0 |
| 1 | 0 | 0 | 1 |
```If we wish, we may also change out the 1/0's for T\F's in the settings menu.
```
| p | ∧ | ¬ | q |
|---+---+---+---|
| F | F | T | F |
| F | F | F | T |
| T | T | T | F |
| T | F | F | T |
```