randRange( 1, 11 ) randRange( 2, 12 )

What is the numerator of the fraction \dfrac{NUMERATOR}{DENOMINATOR}?

NUMERATOR

Fractions help represent parts of a whole.

The fraction \dfrac{NUMERATOR}{DENOMINATOR} could represent NUMERATOR out of DENOMINATOR slices of pie. In other words, the pie has been cut into DENOMINATOR slices, and we are only considering NUMERATOR of those slices.

init({ range: [ [-2, 10], [-2, 2] ], scale: 25 }); piechart( [NUMERATOR, DENOMINATOR - NUMERATOR], ["#6495ED", "#FFA500"], 2 ); label( [2, 0], "=\\dfrac{\\color{#6495ED}{" + NUMERATOR + "}}{" + DENOMINATOR + "}" + "=\\dfrac{\\color{#6495ED}{\\text{numerator}}}{\\text{denominator}}", "right");

The numerator is the number of slices we consider, and it is written above the fraction line. The denominator is the total number of slices, and it is written below the line.

Thus, the numerator is NUMERATOR.

What is the denominator of the fraction \dfrac{NUMERATOR}{DENOMINATOR}?

DENOMINATOR

Thus, the denominator is DENOMINATOR.