04-13-2015, 12:40 PM
up to a point it's easier to do sequential adds, after a certain point (depending on processor architecture) you can use the formula that doesn't rely on any previous values. The formula involves irrational numbers though so there will be rounding errors: http://www.maths.surrey.ac.uk/hosted-sit...rmula.html