Mar-22-2017, 09:08 AM
Awesome!
integrate.quad(lambda x: ((a*b/c) * 1.05**(-x))/(b-1), 1, b)
Even better is that you pointed out I don't need to use calculus at all:
(-(a*b/c) / math.log(1.05) * ( 1.05**-b - 1.05**-a ))/(b-1)
Thank you for your help!
integrate.quad(lambda x: ((a*b/c) * 1.05**(-x))/(b-1), 1, b)
Even better is that you pointed out I don't need to use calculus at all:
(-(a*b/c) / math.log(1.05) * ( 1.05**-b - 1.05**-a ))/(b-1)
Thank you for your help!