Finding the constant of integration