Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Boolean Algebra solution in Clear category for Boolean Algebra by svartmetall
def conjunction(x, y):
return x and y
def disjunction(x, y):
return x or y
def implication(x, y):
return x == y or (y and not x)
def exclusive(x, y):
return x != y and (x or y)
def equivalence(x, y):
return x == y
def boolean(x, y, operation):
return eval(operation)(x, y)
Nov. 19, 2017