randRange(10, 99)
randRange(10, 99)
digits(N1)
digits(N2)
N1 === N2 ? "=" : N1 < N2 ? "<" : ">"
Fill in the blank.
\large{N1}
____ \large{N2}
SOLUTION
randRange(1, 9)
randRange(1, 9)
A * 10 + B
B * 10 + A
[B, A]
[A, B]
N1 < N2 ? "<" : ">"
Fill in the blank.
\large{N1}
____ \large{N2}
SOLUTION
\large{<}
means "less than".
\large{=}
means "equal to".
\large{>}
means "greater than".
\large{\qquad \green{D1[1]}\red{D1[0]} =
\green{D1[1] \text{ plural_form(numberPlaceNames[1], D1[1])}} +
\red{D1[0] \text{ plural_form(numberPlaceNames[0], D1[0])}}}
var scale = 20;
var height = 1.25 * D1[1];
init({
range: [[-0.1, 22], [-1.5, height + 0.1]],
scale: scale
});
style({
fillOpacity: 0.6,
strokeWidth: 2,
stroke: KhanUtil._BACKGROUND
});
var label1 = D1[1] + "\\text{ " + plural_form(numberPlaceNames[1], D1[1]) + "}";
var label2 = D1[0] + "\\text{ " + plural_form(numberPlaceNames[0], D1[0]) + "}";
for (var i = 0; i < D1[1]; i++) {
rect(0, i * 1.25, 10, 1, {fill: GREEN});
grid([0, 10], [1.25 * i, 1.25 * i - 1], {strokeWidth: 1}).translate(0, -scale);
}
label([5, -0.9], label1, "center", {color: GREEN});
for (var i = 0; i < D1[0]; i++) {
rect(11 + i * 1.25, 0, 1, 1, {fill: RED});
}
if (D1[0]) {
label([11 + (1.25 * D1[0] - 0.25) / 2, -0.9], label2, "center", {color: RED});
}
\large{\qquad \green{D2[1]}\red{D2[0]}} =
\green{\large{D2[1] \text{ plural_form(numberPlaceNames[1], D2[1])}} +
\red{D2[0] \text{ plural_form(numberPlaceNames[0], D2[0])}}}
var scale = 20;
var height = 1.25 * D2[1];
init({
range: [[-0.1, 22], [-1.5, height + 0.1]],
scale: scale
});
style({
fillOpacity: 0.6,
strokeWidth: 2,
stroke: KhanUtil._BACKGROUND
});
var label1 = D2[1] + "\\text{ " + plural_form(numberPlaceNames[1], D2[1]) + "}";
var label2 = D2[0] + "\\text{ " + plural_form(numberPlaceNames[0], D2[0]) + "}";
for (var i = 0; i < D2[1]; i++) {
rect(0, i * 1.25, 10, 1, {fill: GREEN});
grid([0, 10], [1.25 * i, 1.25 * i - 1], {strokeWidth: 1}).translate(0, -scale);
}
label([5, -0.9], label1, "center", {color: GREEN});
for (var i = 0; i < D2[0]; i++) {
rect(11 + i * 1.25, 0, 1, 1, {fill: RED});
}
if (D2[0]) {
label([11 + (1.25 * D2[0] - 0.25) / 2, -0.9], label2, "center", {color: RED});
}
\large{N1}
is greater than \large{N2}
.
So \large{N1 > N2}
.
\large{N1}
is less than \large{N2}
.
So \large{N1 < N2}
.
\large{N1}
is equal to \large{N2}
.
So \large{N1 = N2}
.