Express this statement as a formula in boolean logic, using the five variables i, e, g, u, and t, where i is true if the given student is an ics major, e is true if the student is an engineering major, g is true if the student needs 161 to graduate this quarter, u is true if the student has enough units already, and t is true if the student is allowed to take 161.
Your formula should be an expression of the form "t = ..." where the "..." is an expression which uses the and, or, and not operations to combine the values of the other four variables.
Answer:
x | y | z | x v y | y ^ z | ~(y ^ z) | (x v y) ^ ~(y ^ z) |
false | false | false | false | false | true | false |
false | false | true | false | false | true | false |
false | true | false | true | false | true | true |
false | true | true | true | true | false | false |
true | false | false | true | false | true | true |
true | false | true | true | false | true | true |
true | true | false | true | false | true | true |
true | true | true | true | true | false | false |
Answer: