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