randRange(1, 10) randRange(1, 10) A * B
init({ range: [[0, 12], [-1, 1]] }); KhanUtil.currentGraph.labelHolder = label( [ 0, 0 ], "\\Huge{\\blue{" + C + "} \\div \\green{" + B + "} = \\pink{?}}", "right" );
A
init({ range: [ [ -1, 10 ], [ 0, A + 1 ] ], scale: [ 40, 40 ] }); for (var i = 0; i < A; i++) { drawRow(B, A - i, BLUE, B * i + 1); }

Draw `\blue{C}` circles, with `\green{B}` to each row.

style({ stroke: GREEN, 'stroke-width': 3 }); for (var i = 1; i < A; i++) { path ([[-0.5 , i + 0.5], [B - 0.5, i + 0.5]]); }

How many rows are there?

Dividing any number by `1` equals itself.

KhanUtil.currentGraph.labelHolder.remove(); label([0, 0], "\\Huge{\\blue{" + C + "} \\div \\green{" + B + "} = \\pink{" + A + "}}", "right");
for (var i = 0; i < A; i++) { label([-1, i + 1], A - i, { color: PINK }); }
init({ range: [[0, 12], [-1, 1]] }); KhanUtil.currentGraph.labelHolder = label([0, 0], "\\Huge{\\blue{?} \\div \\green{" + B + "} = \\pink{" + A + "}}", "right" );
C
init({ range: [[-1, 10], [-1.5, A + 1]], scale: [40, 40] }); label([-1, A], "We can make a row of " + B + " circles.", "right", false); drawRow(B, A - 2, GREEN, 1);
if (A === 1) { label([-1, A - 1], "How many circles are there if we make 1 row?", "right", false); } else { label([-1, A - 1], "How many circles are there if we make " + A + " rows?", "right", false); } for (var i = 1; i < A; i++) { drawRow(B, A - 2 - i, BLUE, B * i + 1); }

Dividing any number by `1` equals itself.

KhanUtil.currentGraph.labelHolder.remove(); label([0, 0], "\\Huge{\\blue{" + C + "} \\div \\green{" + B + "} = \\pink{" + A + "}}", "right");
init({ range: [[0, 12], [-1, 1]], scale: [40, 40] }); KhanUtil.currentGraph.labelHolder = label([0, 0], "\\Huge{\\blue{" + C + "} \\div \\green{?} = \\pink{" + A + "}}", "right" );
B
init({ range: [[-1, 10], [-0.5, A + 1]], scale: [40, 40] }); for (var i = 0; i < A; i++) { drawRow(B, A - i, BLUE, B * i + 1); label([-1, i + 1], A - i, { color: PINK }); if (i > 0) { path ([[-0.5 , i + 0.5], [B - 0.5, i + 0.5]], { stroke: GREEN, 'stroke-width': 3 }); } }

Draw `\blue{C}` circles in `\pink{A}` equal-sized row.

How many circles are in each row?

KhanUtil.currentGraph.labelHolder.remove(); label([0, 0], "\\Huge{\\blue{" + C + "} \\div \\green{" + B + "} = \\pink{" + A + "}}", "right");