Simplify \sqrt{NUM}
.
NUM = FACTORS
NUM
has no perfect-square factors, so \sqrt{NUM}
is already the simplest form.
\sqrt{NUM} = 1\sqrt{NUM}
or just \sqrt{NUM}
.
Simplify \sqrt{NUM}
.
NUM = round(sqrt(NUM))^2
So, \sqrt{NUM} = \sqrt{SPLIT[0]^2} = SPLIT[0]
\sqrt{NUM} = SPLIT[0]\sqrt{1}
or just SPLIT[0]
.
Simplify \sqrt{NUM}
.
The largest perfect square that divides NUM
is COEFFICIENT * COEFFICIENT
.
NUM = COEFFICIENT * COEFFICIENT \cdot RADICAL
\sqrt{NUM} = \sqrt{COEFFICIENT * COEFFICIENT \cdot RADICAL}
\sqrt{NUM} = \sqrt{COEFFICIENT * COEFFICIENT} \cdot \sqrt{RADICAL}
Thus, \sqrt{NUM} = COEFFICIENT\sqrt{RADICAL}
.