randFromArray([ 0, randRange( 1, 9 ) ]) randRange( 0, 9 )
randRange( 0, 9 ) randRange( 0, 9 ) randRange( 0, 9 )
randRange( 0, 9 ) randRange( 1, 9 )

Choose the right number of each place value to make
\Huge{ \color{PINK}{THOUSANDS} \color{ORANGE}{HUNDREDS} \color{GREEN}{TENS} \color{BLUE}{ONES}. \color{purple}{TENTHS} \color{gray}{HUNDREDTHS} \color{#a52a2a}{THOUSANDTHS} }

Thousands
1000
Hundreds
100
Tens
10
Ones
1
Tenths
0.1
Hundredths
0.01
Thousandths
0.001
(function() { Khan.scratchpad.disable(); // click handlers $( "#problemarea .thou" ).bind( "vmousedown", function( event ) { event.preventDefault(); $( this ).toggleClass( 'thou-selected' ); }); $( "#problemarea .hund" ).bind( "vmousedown", function( event ) { event.preventDefault(); $( this ).toggleClass( 'hund-selected' ); }); $( "#problemarea .ten" ).bind( "vmousedown", function( event ) { event.preventDefault(); $( this ).toggleClass( 'ten-selected' ); }); $( "#problemarea .one" ).bind( "vmousedown", function( event ) { event.preventDefault(); $( this ).toggleClass( 'one-selected' ); }); $( "#problemarea .tenth" ).bind( "vmousedown", function( event ) { event.preventDefault(); $( this ).toggleClass( 'tenth-selected' ); }); $( "#problemarea .hundth" ).bind( "vmousedown", function( event ) { event.preventDefault(); $( this ).toggleClass( 'hundth-selected' ); }); $( "#problemarea .thouth" ).bind( "vmousedown", function( event ) { event.preventDefault(); $( this ).toggleClass( 'thouth-selected' ); }); })()

 

Click on the numbers in rectangles to select them.
digitsToInteger([ $( "#problemarea .thou-selected" ).length, $( "#problemarea .hund-selected" ).length, $( "#problemarea .ten-selected" ).length, $( "#problemarea .one-selected" ).length, $( "#problemarea .tenth-selected" ).length, $( "#problemarea .hundth-selected" ).length, $( "#problemarea .thouth-selected" ).length ]) / 1000
if ( guess === 0 ) { return ""; } else { return guess === ( digitsToInteger([ THOUSANDS, HUNDREDS, TENS, ONES, TENTHS, HUNDREDTHS, THOUSANDTHS ]) / 1000 ); }
var places = digits( guess * 1000 ); // unselect everything $( "#problemarea .place-value" ).removeClass( 'thou-selected hund-selected ten-selected one-selected tenth-selected, hundth-selected, thouth-selected' ); // select the approprate number of each thing $( "#problemarea .thou" ).slice( 0, places[6] || 0 ).addClass( 'thou-selected' ); $( "#problemarea .hund" ).slice( 0, places[5] || 0 ).addClass( 'hund-selected' ); $( "#problemarea .ten" ).slice( 0, places[4] || 0 ).addClass( 'ten-selected' ); $( "#problemarea .one" ).slice( 0, places[3] || 0 ).addClass( 'one-selected' ); $( "#problemarea .tenth" ).slice( 0, places[2] || 0 ).addClass( 'tenth-selected' ); $( "#problemarea .hundth" ).slice( 0, places[1] || 0 ).addClass( 'hundth-selected' ); $( "#problemarea .thouth" ).slice( 0, places[0] || 0 ).addClass( 'thouth-selected' );
click a number to select it
click a number again to deselect it
randRange( 1, 9 ) 0

Choose the right number of bills and coins to make
\Huge{$ \color{PINK}{THOUSANDS} \color{ORANGE}{HUNDREDS} \color{GREEN}{TENS} \color{BLUE}{ONES}. \color{purple}{TENTHS} \color{gray}{HUNDREDTHS} }

Thousands
$1000
Hundreds
$100
Tens
$10
Ones
$1
Tenths
10¢
Hundredths
Khan.scratchpad.disable(); init({ range: [ [ 0, 143 ], [ -430, 22 ] ], scale: [ 1, 1 ] }); style({ fill: "#eee", stroke: "#ddd", strokeWidth: 1 }); graph.tenths = []; graph.hundredths = []; for ( var i = 0; i < 10; ++i ) { graph.tenths.push( circle( [ 37, (-42 * i) - 26 ], 18 ) ); graph.hundredths.push( circle( [ 107, (-42 * i) - 26 ], 18 ) ); } graph.getCoinCircle = function( coinEl ) { var coins, coin = $( coinEl ); if ( coin.hasClass( 'dime' ) ) { coins = KhanUtil.currentGraph.graph.tenths; } else { coins = KhanUtil.currentGraph.graph.hundredths; } return coins[ coin.index() - 1 ]; } // click handlers $( "#problemarea .thou" ).bind( "vmousedown", function( event ) { event.preventDefault(); $( this ).toggleClass( 'thou-selected' ); }); $( "#problemarea .hund" ).bind( "vmousedown", function( event ) { event.preventDefault(); $( this ).toggleClass( 'hund-selected' ); }); $( "#problemarea .ten" ).bind( "vmousedown", function( event ) { event.preventDefault(); $( this ).toggleClass( 'ten-selected' ); }); $( "#problemarea .one" ).bind( "vmousedown", function( event ) { event.preventDefault(); $( this ).toggleClass( 'one-selected' ); }); $( "#problemarea .dime" ).bind( "vmousedown", function( event ) { event.preventDefault(); $( this ).toggleClass( 'dime-selected' ); if ( $( this ).hasClass( 'dime-selected' ) ) { graph.getCoinCircle( this ).attr({ fill: 'purple', stroke: '#000' }); } else { graph.getCoinCircle( this ).attr({ fill: '#eee', stroke: '#ddd' }); } }); $( "#problemarea .penny" ).bind( "vmousedown", function( event ) { event.preventDefault(); $( this ).toggleClass( 'penny-selected' ); if ( $( this ).hasClass( 'penny-selected' ) ) { graph.getCoinCircle( this ).attr({ fill: 'gray', stroke: '#000' }); } else { graph.getCoinCircle( this ).attr({ fill: '#eee', stroke: '#ddd' }); } }); // mouseover handlers $( "#problemarea .dime" ).bind( "vmouseover", function( event ) { graph.getCoinCircle( this ).attr({ stroke: '#999' }); }); $( "#problemarea .penny" ).bind( "vmouseover", function( event ) { graph.getCoinCircle( this ).attr({ stroke: '#999' }); }); // mouseout handlers $( "#problemarea .dime" ).bind( "vmouseout", function( event ) { if ( $( this ).hasClass( 'dime-selected' ) ) { graph.getCoinCircle( this ).attr({ stroke: '#000' }); } else { graph.getCoinCircle( this ).attr({ stroke: '#ddd' }); } }); $( "#problemarea .penny" ).bind( "vmouseout", function( event ) { if ( $( this ).hasClass( 'penny-selected' ) ) { graph.getCoinCircle( this ).attr({ stroke: '#000' }); } else { graph.getCoinCircle( this ).attr({ stroke: '#ddd' }); } });

 

Click on the bills and coins to select them.
digitsToInteger([ $( "#problemarea .thou-selected" ).length, $( "#problemarea .hund-selected" ).length, $( "#problemarea .ten-selected" ).length, $( "#problemarea .one-selected" ).length, $( "#problemarea .dime-selected" ).length, $( "#problemarea .penny-selected" ).length ]) / 100
if ( guess === 0 ) { return ""; } else { return guess === ( digitsToInteger([ THOUSANDS, HUNDREDS, TENS, ONES, TENTHS, HUNDREDTHS ]) / 100 ); }
var places = digits( guess * 100 ); // unselect everything $( "#problemarea .bill" ).removeClass( 'thou-selected hund-selected ten-selected one-selected' ); $( "#problemarea .dime" ).removeClass( 'dime-selected' ); $( "#problemarea .penny" ).removeClass( 'penny-selected' ); $.each( KhanUtil.currentGraph.graph.tenths, function() { this.attr({ fill: '#eee', stroke: '#ddd' }); }); $.each( KhanUtil.currentGraph.graph.hundredths, function() { this.attr({ fill: '#eee', stroke: '#ddd' }); }); // select the approprate number of each thing $( "#problemarea .thou" ).slice( 0, places[5] || 0 ).addClass( 'thou-selected' ); $( "#problemarea .hund" ).slice( 0, places[4] || 0 ).addClass( 'hund-selected' ); $( "#problemarea .ten" ).slice( 0, places[3] || 0 ).addClass( 'ten-selected' ); $( "#problemarea .one" ).slice( 0, places[2] || 0 ).addClass( 'one-selected' ); $( "#problemarea .dime" ).slice( 0, places[1] || 0 ).addClass( 'dime-selected' ); $( "#problemarea .penny" ).slice( 0, places[0] || 0 ).addClass( 'penny-selected' ); for ( var i = 0; i < places[1]; ++i ) { KhanUtil.currentGraph.graph.tenths[ i ].attr({ fill: 'purple', stroke: '#000' }); } for ( var i = 0; i < places[0]; ++i ) { KhanUtil.currentGraph.graph.hundredths[ i ].attr({ fill: 'gray', stroke: '#000' }); }
click a bill or coin to select it
click a bill or coin again to deselect it

\Large{ \color{PINK}{THOUSANDS} \color{ORANGE}{HUNDREDS} \color{GREEN}{TENS} \color{BLUE}{ONES}. \color{purple}{TENTHS} \color{gray}{HUNDREDTHS} \color{brown}{THOUSANDTHS} } is the same as \large{ \color{PINK}{THOUSANDS000} + \color{ORANGE}{HUNDREDS00} + \color{GREEN}{TENS0} + \color{BLUE}{ONES} + \color{purple}{0.TENTHS} + \color{gray}{0.0HUNDREDTHS} + \color{brown}{0.00THOUSANDTHS} }.

\large{\color{PINK}{THOUSANDS000}} is the same as \large{\color{PINK}{THOUSANDS}} plural( "thousand", THOUSANDS ), the place value four places to the left of the decimal point.

// Select thousands. var thous = $( '#problemarea .thou' ); thous.removeClass( 'thou-selected' ); for ( var i = 0; i < THOUSANDS; i++ ) { $( thous[ i ] ).addClass( 'thou-selected' ); }

Because there is no number in the thousands place, you don't need any thousands.

\large{\color{ORANGE}{HUNDREDS00}} is the same as \large{\color{ORANGE}{HUNDREDS}} plural( "hundred", HUNDREDS ), the place value three places to the left of the decimal point.

// Select hundreds. var hunds = $( '#problemarea .hund' ); hunds.removeClass( 'hund-selected' ); for ( var i = 0; i < HUNDREDS; i++ ) { $( hunds[ i ] ).addClass( 'hund-selected' ); }

Because the hundreds place is \large{0}, you don't need any hundreds.

\large{\color{GREEN}{TENS0}} is the same as \large{\color{GREEN}{TENS}} plural( "ten", TENS ), the place value two places to the left of the decimal point.

// Select tens. var tens = $( '#problemarea .ten' ); tens.removeClass( 'ten-selected' ); for ( var i = 0; i < TENS; i++ ) { $( tens[ i ] ).addClass( 'ten-selected' ); }

Because the tens place is \large{0}, you don't need any tens.

\large{\color{BLUE}{ONES}} is the same as \large{\color{BLUE}{ONES}} plural( "one", ONES ), the place value one place to the left of the decimal point.

// Select ones. var ones = $( '#problemarea .one' ); ones.removeClass( 'one-selected' ); for ( var i = 0; i < ONES; i++ ) { $( ones[ i ] ).addClass( 'one-selected' ); }

Because the ones place is \large{0}, you don't need any ones.

\large{\color{purple}{0.TENTHS}} is the same as \large{\color{purple}{TENTHS}} plural( "tenth", TENTHS ), the place value one place to the right of the decimal point.

// Select dimes/tenths. if ( $( '#place-value' ).length === 1 ) { var tenths = $( '#problemarea .tenth' ); tenths.removeClass( 'tenth-selected' ); for ( var i = 0; i < TENTHS; i++ ) { $( tenths[ i ] ).addClass( 'tenth-selected' ); } } else { var dimes = $( '#problemarea .dime' ); dimes.removeClass( 'dime-selected' ); for ( var i = 0; i < dimes.length; i++ ) { graph.getCoinCircle( dimes[ i ] ).attr({ fill: '#eee', stroke: '#ddd' }); } for ( var i = 0; i < TENTHS; i++ ) { $( dimes[ i ] ).addClass( 'dime-selected' ); graph.getCoinCircle( dimes[ i ] ).attr({ fill: 'purple', stroke: '#000' }); } }

Because the tenths place is \large{0}, you don't need any tenths.

\large{\color{gray}{0.0HUNDREDTHS}} is the same as \large{\color{gray}{HUNDREDTHS}} plural("hundredth", HUNDREDTHS ), the place value two places to the right of the decimal point.

// Select pennies/hundredths. if ( $( '#place-value' ).length === 1 ) { var hundths = $( '#problemarea .hundth' ); hundths.removeClass( 'hundth-selected' ); for ( var i = 0; i < HUNDREDTHS; i++ ) { $( hundths[ i ] ).addClass( 'hundth-selected' ); } } else { var pennies = $( '#problemarea .penny' ); pennies.removeClass( 'penny-selected' ); for ( var i = 0; i < pennies.length; i++ ) { graph.getCoinCircle( pennies[ i ] ).attr({ fill: '#eee', stroke: '#ddd' }); } for ( var i = 0; i < HUNDREDTHS; i++ ) { $( pennies[ i ] ).addClass( 'penny-selected' ); graph.getCoinCircle( pennies[ i ] ).attr({ fill: 'gray', stroke: '#000' }); } }

Because the hundreds place is \large{0}, you don't need any hundreds.

\large{\color{#a52a2a}{0.00THOUSANDTHS}} is the same as \large{\color{#a52a2a}{THOUSANDTHS}} plural("thousandth", THOUSANDTHS ), the place value three places to the right of the decimal point.

// Select thousandths. var thouths = $( '#problemarea .thouth' ); thouths.removeClass( 'thouth-selected' ); for ( var i = 0; i < THOUSANDTHS; i++) { $( thouths[ i ] ).addClass( 'thouth-selected' ); }

Therefore you need \large{\color{PINK}{THOUSANDS}} plural( "thousand", THOUSANDS ), \large{\color{ORANGE}{HUNDREDS}} plural( "hundred", HUNDREDS ), \large{\color{GREEN}{TENS}} plural( "ten", TENS ), \large{\color{BLUE}{ONES}} plural( "one", ONES ), \large{\color{purple}{TENTHS}} plural( "tenth", TENTHS ), and \large{\color{gray}{HUNDREDTHS}} plural( "hundredth", HUNDREDTHS ). \large{\color{gray}{HUNDREDTHS}} plural( "hundredth", HUNDREDTHS ), and \large{\color{#a52a2a}{THOUSANDTHS}} plural( "thousandth", THOUSANDTHS ).