randFromArray(smallDenominators) randRange(1, TOTAL - 2) randRange(1, TOTAL - A - 1) A + B TOTAL - EATEN $._("fraction of %(pizza__1__)s eaten", {pizza__1__: pizza( 1 )}) $._("number of slices eaten") $._("number of slices total") $._("number of slices remaining") $._("fraction of %(pizza__1__)s remaining", {pizza__1__: pizza( 1 )})

person(1) ate `A` slice of pizza(1). person(1) ate `A` slices of pizza(1). person(2) ate `B` slice. person(2) ate `B` slices.

If there were initially `TOTAL` slices of equal size, what fraction of the pizza(1) was eaten?

EATEN / TOTAL

`\text{FRACTION_OF_PIZZAS_EATEN} = \dfrac{\text{NUMBER_OF_SLICES_EATEN}}{\text{NUMBER_OF_SLICES_TOTAL}}`

`\text{NUMBER_OF_SLICES_EATEN} = A + B = EATEN`

init({ range: [ [-2, 2], [-2, 2] ], scale: 25 }); piechart([EATEN, TOTAL - EATEN], [BLUE, GRAY], 2);

They ate `\blue{EATEN}` out of `TOTAL` slices.

They ate `\dfrac{EATEN}{TOTAL}` of the pizza( 1 ).

If there were `LEFT` slice remaining and all the slices were the same size, what fraction of the pizza(1) was eaten? If there were `LEFT` slices remaining and all the slices were the same size, what fraction of the pizza(1) was eaten?

`\text{FRACTION_OF_PIZZAS_EATEN} = \dfrac{\text{NUMBER_OF_SLICES_EATEN}}{\text{NUMBER_OF_SLICES_TOTAL}}`

Since they ate `EATEN` slices of pizza(1) with `LEFT` slice remaining, they must have begun with `TOTAL` slices.

Since they ate `EATEN` slices of pizza(1) with `LEFT` slices remaining, they must have begun with `TOTAL` slices.

They ate `\blue{EATEN}` out of `TOTAL` slices.

init({ range: [ [-2, 2], [-2, 2] ], scale: 25 }); piechart([EATEN, TOTAL - EATEN], [BLUE, GRAY], 2);

They ate `\dfrac{EATEN}{TOTAL}` of the pizza(1).

If person(1) ate `\dfrac{A}{TOTAL}` of the pizza(1) and all the slices are the same size, what fraction of the pizza(1) was eaten in total?

`\text{FRACTION_OF_PIZZAS_EATEN} = \dfrac{\text{NUMBER_OF_SLICES_EATEN}}{\text{NUMBER_OF_SLICES_TOTAL}}`

If `A` slice represents `\dfrac{A}{TOTAL}` of the pizza(1), there must have been a total of `TOTAL` slices.

If `A` slices represents `\dfrac{A}{TOTAL}` of the pizza(1), there must have been a total of `TOTAL` slices.

`\text{NUMBER_OF_SLICES_EATEN} = A + B = EATEN`

They ate `\blue{EATEN}` out of `TOTAL` slices.

init({ range: [ [-2, 2], [-2, 2] ], scale: 25 }); piechart([EATEN, TOTAL - EATEN], [BLUE, GRAY], 2);

They ate `\dfrac{EATEN}{TOTAL}` of the pizza(1).

If there were initially `TOTAL` slices and all the slices are the same size, what fraction of the pizza(1) is remaining?

LEFT / TOTAL

`\text{FRACTION_OF_PIZZAS_EATEN} = \dfrac{\text{NUMBER_OF_SLICES_REMAINING}}{\text{NUMBER_OF_SLICES_TOTAL}}`

Together they ate `EATEN` slices, which leaves `LEFT` out of `TOTAL` slices remaining.

init({ range: [ [-2, 2], [-2, 2] ], scale: 25 }); var remaining = TOTAL - EATEN; piechart([remaining, TOTAL - remaining], [GRAY, BLUE], 2);

There is `\dfrac{LEFT}{TOTAL}` of the pizza(1) remaining.

If person(1) ate `\dfrac{A}{TOTAL}` of the pizza(1) and all the slices were the same size, what fraction of the pizza(1) remained after person(1) and person(2) had eaten?

LEFT / TOTAL

`\text{FRACTION_OF_PIZZAS_REMAINING} = \dfrac{\text{NUMBER_OF_SLICES_REMAINING}}{\text{NUMBER_OF_SLICES_TOTAL}}`

If `A` slice represents `\dfrac{A}{TOTAL}` of the pizza(1), there must have been a total of `TOTAL` slices.

If `A` slices represents `\dfrac{A}{TOTAL}` of the pizza(1), there must have been a total of `TOTAL` slices.

Together they ate `EATEN` slices, which leaves `LEFT` out of `TOTAL` slices remaining.

init({ range: [ [-2, 2], [-2, 2] ], scale: 25 }); var remaining = TOTAL - EATEN; piechart([remaining, TOTAL - remaining], [GRAY, BLUE], 2);

There is `\dfrac{LEFT}{TOTAL}` of the pizza( 1 ) remaining.