Gives addition of terms until reaches desired accuracy