On the Effectiveness of the z-Transform Method in Quadratic Optimization