+ 1

I'm using a formula to calculate the sum of a geometric list but no matter what I do it never gives me the right output.

The formula is: x=2,4,8,16 n1=first value nn=last value Sx=n1-(n1*r**nn)/1-r Does anyone knows why the output is never right??

18th Dec 2018, 6:44 AM
albr3cht
albr3cht - avatar
3 Réponses
+ 3
Could you post an actual code sample? It's not easy to understand what... x=2,4,8,16 n1=first value nn=last value ...means. Is x a list of values and n1 the first value and nn the last value of this list?
18th Dec 2018, 6:57 AM
Anna
Anna - avatar
0
Is this code but the problem is in line 60
18th Dec 2018, 7:00 AM
albr3cht
albr3cht - avatar