You cannot get -5V directly out of an AND gate if it is powered by +5V and GND. You cannot drive it by +5V and -5V because the chip will blow. If you drive it with GND and -5V, and the +5V input will overdrive the input.1.) How would you get -5 volts on the output of a AND GATE?
2.) The input voltages are +5 volts
Goal is trying to make the AND gate into a "polarity converter"