How To Convert Summation To Integral