|
|
|||
|
|
| Mathematica Tutorial | Functions »|Tutorials »|More About » |
| x | equal (also input as x = y) |
| x | unequal (also input as x ≠ y) |
| x>y | greater than |
| x>=y | greater than or equal to (also input as x ≥ y) |
| x<y | less than |
| x<=y | less than or equal to (also input as x ≤ y) |
| x | all equal |
| x | all unequal (distinct) |
| x>y>z, etc. | strictly decreasing, etc. |
|
Not all of these numbers are unequal, so this gives False.
|
|
|
|
| !p | not (also input as ¬p) |
| p&&q&&... | and (also input as p |
| p||q||... | or (also input as p |
| Xor[p,q,...] | exclusive or (also input as p |
| Nand[p,q,...] and Nor[p,q,...] | |
| nand and nor (also input as | |
| If[p,then,else] | give then if p is True, and else if p is False |
| LogicalExpand[expr] | expand out logical expressions |
|
|
|
You can use LogicalExpand to expand out the terms.
|