FUNCTION OF PURE SINE WAVE INVERTER