Numerical calculation method for class E switching circuit