How do ^ and - make the XOR. using p and q I got this answer. p XOR q = (-(p^q)^(-p^q))^((p^-q)^-(-p^q)) Is this the right way to write this?
Follow Math Help Forum on Facebook and Google+
Originally Posted by metgol How do ^ and - make the XOR. using p and q I got this answer. p XOR q = (-(p^q)^(-p^q))^((p^-q)^-(-p^q)) Is this the right way to write this? Is this not better written as: p xor q = not(p and q) and not( not(p) and not(q)) RonL
table p q -(p^q) t t f t f t f t t f f t -p -q -(-p^-q) f f t f t t t f t t t f then -(p^q) -(-p^-q) and f t f t t t t t t t f f then yes it would thanks, that's much clearer.
View Tag Cloud