Skip to content

# Khan/khan-exercises

### Subversion checkout URL

You can clone with
or
.
Fetching contributors…

Cannot retrieve contributors at this time

65 lines (57 sloc) 2.36 kB
 Arithmetic word problems
randRange( 3, 12 ) randRange( 1, ITEMS_PER_GROUP - 1 ) randRange( 2, 12 ) GROUPS * ITEMS_PER_GROUP ITEMS_IN_GROUPS + ITEMS_LEFT getRandomFactor( TOTAL_ITEMS ) TOTAL_ITEMS / NEW_ITEMS_PER_GROUP

person(1) is putting itemPlural(1) into groupPlural(1). If he(1) puts plural( ITEMS_PER_GROUP, item(1), itemPlural(1) ) in each group(1) he(1) will groupVerb(1) plural( GROUPS, group(1), groupPlural(1) ) and have plural( ITEMS_LEFT, item(1), itemPlural(1) ) left over. If he(1) instead puts NEW_ITEMS_PER_GROUP itemPlural(1) in each group(1), how many groupPlural(1) of itemPlural(1) can he(1) groupVerb(1)?

NEW_GROUPS

plural( GROUPS, group(1), groupPlural(1) ) of plural( ITEMS_PER_GROUP, item(1), itemPlural(1) ) each results in GROUPS \times ITEMS_PER_GROUP = ITEMS_IN_GROUPS itemPlural(1).

plural( ITEMS_IN_GROUPS, item(1), itemPlural(1) ) plus ITEMS_LEFT left over equals TOTAL_ITEMS total itemPlural(1).

plural( TOTAL_ITEMS, item(1), itemPlural(1) ) divided into groups of NEW_ITEMS_PER_GROUP is TOTAL_ITEMS \div NEW_ITEMS_PER_GROUP = NEW_GROUPS groupPlural(1).

Something went wrong with that request. Please try again.