D
Ding Lei
Hello java group,
I need to use Java to compute the following forumla:
p = c / (1 + y) + c / ((1 + y)^2) + c / ((1 + y)^3) + ... c / ((1 + y)^n)
p,c,n are known and we need to calculate y.
Is there anyway to do this with Java, if yes please show up sample code,
Thank you very much!
Yours,
layman
I need to use Java to compute the following forumla:
p = c / (1 + y) + c / ((1 + y)^2) + c / ((1 + y)^3) + ... c / ((1 + y)^n)
p,c,n are known and we need to calculate y.
Is there anyway to do this with Java, if yes please show up sample code,
Thank you very much!
Yours,
layman