# msuhendra/khan-exercises forked from Khan/khan-exercises

add exercise discount-tax-tip word problems, took out the tip problem…

… type from percentage word problems 1
1 parent 9386e20 commit e8e3bdd28e1ead980b3159e0aeec3cbce0c3dabb committed Feb 16, 2012
Showing with 171 additions and 42 deletions.
1. +171 −0 exercises/discount_tax_and_tip_word_problems.html
2. +0 −42 exercises/percentage_word_problems_1.html
 @@ -0,0 +1,171 @@ + + + + + Discount, tax, and tip word problems + + + +
+
+ +
+
+ parseFloat(randRange(4,25)).toFixed(2) + randRange(3,19) + parseFloat((SALES_TAX/100)*DOLLARS + DOLLARS).toFixed(2) + parseFloat((1+(SALES_TAX/100))*DOLLARS).toFixed(2) +
+
+

person(1) buys a basket of plural(fruit(1)) on sale for $DOLLARS. The sales tax is SALES_TAX%. What is the total price person(1) pays for the basket of plural(fruit(1))? (Round to the nearest hundredth or cent.) + + + + In order to find the total price, first find the amount of sales tax paid by multiplying the sales tax by the original price of the basket of plural(fruit(1)). + SALES_TAX\% \times$DOLLARS =

+
+
+

Percent means "out of a hundred," so SALES_TAX\% is equivalent to \displaystyle\frac{SALES_TAX}{100} which is also equal to SALES_TAX \div 100.

+

SALES_TAX \div 100 = SALES_TAX/100 +

+
+

Multiply the sales tax you just converted into a decimal by the original price to find the amount of sales tax that must be paid.

+

SALES_TAX/100 \times $DOLLARS =$parseFloat((SALES_TAX/100) * DOLLARS).toFixed(2) +

+
+

Add the sales tax you just found to the original price to find the final price person(1) paid.

+

$parseFloat((SALES_TAX/100) * DOLLARS).toFixed(2) +$DOLLARS = $TOTAL_PRICE + person(1) needs to pay$TOTAL_PRICE.

+
+
+
+ +
+
+ randRange(3.1,13.9) + parseFloat(3,200).toFixed(2) + parseFloat((TAX/100)*PRICE).toFixed(2) +
+
+

If the sales tax in your city is TAX%, how much tax would you pay for an item that costs $PRICE? + + + + In order to find the amount of sales tax you would pay, multiply the sales tax by the original price of the of the item. + TAX\% x$PRICE =

+
+
+

Percent means "out of a hundred," so TAX\% is equivalent to TAX \div 100.

+

TAX \div 100 = TAX/100 +

+
+

Multiply the sales tax you just converted into a decimal by the original price to find the amount of sales tax that must be paid.

+

TAX/100 \times $PRICE =$parseFloat((TAX/100) * PRICE).toFixed(2) +

You would pay $floorTo(2, TOTAL_TAX) in sales tax. + + + + + + + parseFloat(8,85).toFixed(2) + randRange(1,11)*5 + parseFloat(PRICE-(DISCOUNT/100*PRICE)).toFixed(2) + + + person(1) bought a new clothing( 1 ) at the store when they were having a DISCOUNT% off sale. If the regular price of the clothing( 1 ) was$PRICE, how much did person(1) pay with the discount?

+
+
+
+

First, find the amount of the discount by multiplying the original price of the of the item by the discount.

+

$PRICE x DISCOUNT\% = + + + Percent means "out of a hundred," so DISCOUNT\% is equivalent to \displaystyle\frac{DISCOUNT}{100} which is also equal to DISCOUNT \div 100. + DISCOUNT \div 100 = DISCOUNT/100 + + + Multiply the discount you just converted into a decimal by the original price to find the amount of money saved. + DISCOUNT/100 \times$PRICE = $parseFloat((DISCOUNT/100) * PRICE).toFixed(2) + + + Subtract the discount you just found from the original price to get the final price person(1) paid. +$PRICE - $parseFloat(DISCOUNT/100*PRICE).toFixed(2) =$DISCOUNT_PRICE,

+

person(1) paid $DISCOUNT_PRICE for the clothing(1). + + + + + + + randRange(1,11)*5 + parseFloat(6,20).toFixed(2) + parseFloat(2,DISCOUNT/100*PRICE).toFixed(2) + + + The pizza(1) store is having a DISCOUNT% sale on all of its plural(pizza(1)). If the pizza(1) you want regularly costs$PRICE, how much would you save with the discount?

+
+
+
+

In order to find the amount saved with the discount, multiply the discount by the original price.

+

DISCOUNT\% x $PRICE = + + + Percent means "out of a hundred," so DISCOUNT\% is equivalent to \displaystyle\frac{DISCOUNT}{100} which is also equal to DISCOUNT \div 100. + DISCOUNT \div 100 = DISCOUNT/100 + + + Multiply the discount you just converted into a decimal by the original price to find the amount of money saved. + DISCOUNT/100 \times$PRICE = $TOTAL_DISCOUNT + You would save$TOTAL_DISCOUNT because of the discount.

+
+
+
+
+
+ randRange( 20, 50 ) + parseFloat( BILL ).toFixed( 2 ) + randRange( 1, 4 ) * 5 + BILL * ( TIP_PERCENT / 100 ) + parseFloat( TIP_AMOUNT ).toFixed( 2 ) + parseFloat( BILL * 0.1 ).toFixed( 2 ) + parseFloat( BILL * 0.05 ).toFixed( 2 ) + BILL + TIP_AMOUNT + parseFloat( TOTAL ).toFixed( 2 ) +
+
+

person(1) {has {breakfast|lunch|dinner}|eats} at a {restaurant|cafe} and the cost of his(1) meal is $BILL_FORMAT. He(1) would like to leave a TIP_PERCENT% tip. What is his(1) total bill including tip? + + TOTAL + + + The tip amount is equal to TIP_PERCENT\% \times \$BILL_FORMAT.

+

We can find the tip by first calculating a 10\% tip and then dividing that number by two. and then multiplying that number by two. and a 5\% tip, and then adding those two numbers together.

+
+
+

To calculate a 10\% tip, move the decimal point in \$BILL_FORMAT one place to the left. + 10\% \times \$BILL_FORMAT = \$TIP_TEN_PERCENT + + + + To calculate a 5\% tip, divide the 10\% tip amount in half. + 5\% \times \$BILL_FORMAT = \$TIP_TEN_PERCENT \div 2 = \$TIP_FIVE_PERCENT.

+
+
+

To calculate a 20\% tip, multiply the 10\% tip amount by two.

+

20\% \times \$BILL_FORMAT = \$TIP_TEN_PERCENT \times 2 = \$TIP_AMOUNT_FORMAT. + + + + Adding the two amounts together gives us \$TIP_TEN_PERCENT + \$TIP_FIVE_PERCENT = \$TIP_AMOUNT_FORMAT.

+
+

The cost of the meal plus the amount of the tip will equal the total bill amount.

+

\$BILL_FORMAT + \$TIP_AMOUNT_FORMAT = \$TOTAL_FORMAT. + The total cost of the bill is \$TOTAL_FORMAT.

+
+
+
+
+ + +
 @@ -74,48 +74,6 @@

x \approx YEAR_LAST

-
-
- randRange( 20, 50 ) - parseFloat( BILL ).toFixed( 2 ) - randRange( 1, 4 ) * 5 - BILL * ( TIP_PERCENT / 100 ) - parseFloat( TIP_AMOUNT ).toFixed( 2 ) - parseFloat( BILL * 0.1 ).toFixed( 2 ) - parseFloat( BILL * 0.05 ).toFixed( 2 ) - BILL + TIP_AMOUNT - parseFloat( TOTAL ).toFixed( 2 ) -
-
-

person(1) {has {breakfast|lunch|dinner}|eats} at a {restaurant|cafe} and the cost of his(1) meal is $BILL_FORMAT. He(1) would like to leave a TIP_PERCENT% tip. What is his(1) total bill including tip? - - TOTAL - - - The tip amount is equal to TIP_PERCENT\% \times \$BILL_FORMAT.

-

We can find the tip by first calculating a 10\% tip and then dividing that number by two. and then multiplying that number by two. and a 5\% tip, and then adding those two numbers together.

-
-
-

To calculate a 10\% tip, move the decimal point in \$BILL_FORMAT one place to the left. - 10\% \times \$BILL_FORMAT = \$TIP_TEN_PERCENT - - - - To calculate a 5\% tip, divide the 10\% tip amount in half. - 5\% \times \$BILL_FORMAT = \$TIP_TEN_PERCENT \div 2 = \$TIP_FIVE_PERCENT.

-
-
-

To calculate a 20\% tip, multiply the 10\% tip amount by two.

-

20\% \times \$BILL_FORMAT = \$TIP_TEN_PERCENT \times 2 = \$TIP_AMOUNT_FORMAT. - - - - Adding the two amounts together gives us \$TIP_TEN_PERCENT + \$TIP_FIVE_PERCENT = \$TIP_AMOUNT_FORMAT.

-
-

The cost of the meal plus the amount of the tip will equal the total bill amount.

-

\$BILL_FORMAT + \$TIP_AMOUNT_FORMAT = \$TOTAL_FORMAT. - The total cost of the bill is \$TOTAL_FORMAT.

-