switched integration from numerical to analytical approach