integrate the equation