I am working in the area of selective harmonic elimination in multilevel inverters. I wanted to solve the non-linear transcendental equation using the Quassi Newton Rapson Method. The solution of these non-linear equations are the notch angle or firing angle of each switch. So, does anyone know how to develop an algorithm for the same?