You’re certainly already familiar with several mathematical operations, such as addition, subtraction, multiplication, and division. You may also be familiar with the logical operations AND, OR, NOT, XOR, and IF…THEN. More generally, an operation can be defined on any nonempty set. Operations have the following properties. An operation is a function that takes some number…
