Java Script functions: Geometric mean

Hi, I need help with Geometric Mean in JS. Is there a particular formula? Should I use ‘for/while’ loops?

Welcome to the forum.

I’d use the formula here: https://en.m.wikipedia.org/wiki/Geometric_mean

You’ll probably want some sort of loop.

We’ll be happy to help you debug once you have some code!

Thanks, Jeremy! Will post the code here.

1 Like