Have you ever need to compare 2 large numbers, which is larger?
1036 Vs. 937
Which is larger? 1036 or 937? And how I compare them.
Strategy#
Here’s the strategy: Compare them with 1.
Just divide them and get the result. If the result is larger than 1, then A is larger than B.
My Steps#
In this case, I’ll assign them as below:
A = 937
B = 1036
Instead of
A = 10^36
, I useA = 9^37
because it is easier to compare.
Let’s simplify A
first:
A = 937 = 936 * 9
So,
A / B = (936 * 9) / (1036) = (0.9)36 * 9
Obviously, the result is smaller than 1.
And the conclusion is 1036 > 937.