Attempted use of integration to average values for an impulse series query