Subject | Re: Geometric average |
---|---|

Author | Svein Erling Tysvær |

Post date | 2004-09-07T07:56:39Z |

--- In firebird-support@yahoogroups.com, "Steffen Heil" wrote:

3*4/2 = 12/2 = 6. What he is asking for is 12 to the power of 1/2,

which is around 3.46 according to my calculator.

Not that I know enough maths to know how this is useful...

Set

> HINot quite, suppose you have two numbers - 3 & 4, then your code does

>

> > Sorry, the expression was not well. So the correct expression is:

> > Geometric average = (v1*v2*v3...vn) ^(1/n)

>

> Thats what my code does...

3*4/2 = 12/2 = 6. What he is asking for is 12 to the power of 1/2,

which is around 3.46 according to my calculator.

Not that I know enough maths to know how this is useful...

Set