Integrating the Equation of Gradually Varied Flow