Suppose you run across the power series for the exponential function and decide to code it up. Good idea: you’ll probably learn something, though maybe not what you expect. Maybe you decide a tolerance of 10−12 is good enough, and so you sum the terms until the next term to add is below the tolerance. […] The post Naively summing an alternating series first appeared on John D. Cook .
Naively summing an alternating series
John
