HOW DOES A SINGLE PHASE INVERTER WORK