Solution of the improved and generalized quasistatic methods by Kaps and rentrop integration scheme with stepsize control