Definite integral of absolute value function