randRange(1, 8) randRange(NUM_1 + 1, 9)

What fraction of this circle is shaded red?

init({ range: [ [-3, 3], [-3, 3] ], scale: 25 }); piechart([NUM_1, DEN_1 - NUM_1], ["#e00", "#999"], 2);

NUM_1 / DEN_1

Count the red slices for the numerator.

There plural("is", NUM_1) pluralTex(NUM_1, "red slice").

Count the total slices \left(\color{#e00}{\text{Red Slices}} + \color{#999}{\text{Gray Slices}}\right) for the denominator.

There are \color{#000}{DEN_1\text{ Slices}} in total.

So your answer should be \dfrac{\color{#e00}{NUM_1}}{\color{#000}{\text{DEN_1}}}.

What fraction of the bar is shaded red?

init({ range: [ [0, 1], [0, 1] ], scale: [250, 25] }); rectchart([NUM_1, DEN_1-NUM_1], ["#e00", "#999"]);

NUM_1 / DEN_1

Count the red blocks for the numerator.

There plural( "is", NUM_1 ) pluralTex(NUM_1, "red block").

Count the total slices \left(\color{#e00}{\text{Red Blocks}} + \color{#999}{\text{Gray Blocks}}\right) for the denominator.

There are \color{#000}{DEN_1\text{ Blocks}} in total.

So your answer should be \dfrac{\color{#e00}{NUM_1}}{\color{#000}{\text{DEN_1}}}.

1 2
1 4
2 4
1 5
2 5