I have created a Basic Metabolism calculator on one page that counts it with 10 official scientific mathematical formulas. Everything works fine. The user gets 10 different results.

I would like to be able to calculate the median of these results.

I don’t know how to prepare it. I don’t know anything about it at all. I am a beginner.

Can you help?

Artur