Text this: The combination of Newton-Raphson method and curve-fitting method for PWM-based inverter