| Download
All published worksheets from http://sagenb.org
Project: sagenb.org published worksheets
Views: 168729Image: ubuntu2004
Change Statement within propcalc.formula().
For Example: "~(A|B) <-> ~A & ~B"
if using Worksheet at www.sagenb.org make sure to select evaluate after changing Statement.
f.is_tautology() will confirm if Statement is True or False.
f.truthtable() will printout a proper truthtable (Table may appear upside down or mixed up when compaired to your written version or examples from textbook, to solve for individual conjunctions simply create a new cell for each).
I would suggest creating your own worksheet using this code. Please share and improvements or corrections you find.
Is it a Tautology?
True
Is it a Contradiction?
False
Lets see the Truthtable
A B value
False False True
False True True
True False True
True True True