Skip to Content
Former Member
Jul 22, 2005 at 09:48 PM

formula to implement in program


Hi experts,

I have a formula and i want to implement it program but not getting proper values.

gr = (( e.count / s.count ) pow 1/n ) - 1.

in the program,

I did seperately also but still not getting the values,

i implemented in this way in the program.

n1 = 1 / n.

e = e.count / s.count.

p = e ** n1.

gr = p - 1.

But still not getting the values in the programs output,

Any suggestion or help on this will be of great use to me.

Thanks in advance.