----- Original Message -----
From: "peternilsson42" <[email protected]>
To: <[email protected]>
Sent: Monday, July 27, 2009 9:13 PM
Subject: [c-prog] Re: geometric mean
Start with the definition of geometic mean!
If you already know that it's the nth root of the product
of the n values, then surely the only difficult thing is
calculating the nth root. But there's a simple function in
<math.h> that will do that for you.
I know how to calculate the geometric mean by hand or calc but it is
coding it that I'm at a bit of a loss here. Multiply n number of numbers and
find the n root of the total multiplied. No problem there.
Bill