calculus - how to calculate integrate about Heaviside - Mathematics ...
Don't forget that you are integrating over the Dirac-delta function (it doesn't make much sense otherwise), which means that you evaluate the integrand in the point where the delta function has a zero argument.