Thank you very much for your response and for your script verification. Now thats an interesting result, it is showing up the same as my scripts. It could very well be possible that this may be an accurate answer. I rechecked my formula in my econ text book. I did made a mistake in my earlier post for it should be A / G instead of F / G. My apologies for this misrepresentation.
it should be this formula, which is identical to my Econ book. So, theoretically it should be correct :/.
I can't say I am confident on my math skills but this what I got when I calculated manually. So base on my result I was expecting something similar for my script. Unless my calculation and order of operation is flawed.
G = 10 I = 10 / 100 = .10 N = 10
G = (1/.10) - (10 / ((1 + .10)^10) - 1)
My manual calculation and results
A) 1/.10 = 10 Formula - (1/I)
B) 1 + .10 = 1.10 => (1.10)^10 = 2.59 => 2.59 - 1 = 1.59 Formula (1+I)^10 - 1)
C) 10 / 1.59 = 6.28 Formula - 10 / (1+i)^N -1
D) 10 - 6.28 = 3.71 Formula (1/i) - (N / (1 + i)^N -1
E) 10 * 3.71 = 37.10 Formula G *1/i) - (N / (1 + i)^N -1