erm, 'i' goes from 0 to infinity but isn't used anywhere in the formula.. your integrating a constant?