Stav dette: The Combination of Newton-Raphson Method and Curve-Fitting Method for PWM-based Inverter