Line 113:
Line 113:
==Algorithm==
==Algorithm==
Let 'a' and 'b' two numbers such that a>b<br>
Let 'a' and 'b' two numbers such that a>b<br>
−
Arithmetic mean formula is A.M =<math>\frac{ a + b } {2}</math>
+
Arithmetic mean formula is A.M =<math>\frac{ a + b } {2}</math><br>
−
Geometric mean formula is G.M = <math>\sqrt{ab}</math>
+
Geometric mean formula is G.M = <math>\sqrt{ab}</math><br>
+
A.M exceeds their G.M by 2
+
A.M = G.M +2