I have a function that takes the sum of 1/n/(n+1). I want my loop to keep adding the numbers together UNTIL the difference between consecutive numbers is less than or equal to 0.0000001. I have no idea how to tell the loop to look at only the difference between consecutive numbers, not just the number itself. Does anyone know how to tell a loop to stop in this case? Thanks!