Power Factor Correction (Power Supply) & Sine Wave Approximation (UPS)