randRange(85, 160).toFixed(2) randRange(1,11)*5+30 roundTo(2,(MARKUP_RATE/100)*WHOLESALE).toFixed(2)

person(1)'s Furniture Store buys a furniture(1) at a wholesale price of $WHOLESALE. If the markup rate at person(1)'s Furniture Store is MARKUP_RATE%, what is the total markup for the furniture(1) in dollars? TOTAL_MARKUP Remember that a markup rate is a percentage of the wholesale price that a store adds to get a selling or retail price. The amount of markup can be found with the following equation: markup rate \times wholesale price = amount of markup Since the markup rate is a percentage, we have to convert it into a decimal first. Percent means "out of one hundred," so MARKUP_RATE\% is equivalent to \displaystyle\frac{MARKUP_RATE}{100} which is also equal to MARKUP_RATE \div 100. MARKUP_RATE \div 100 = (MARKUP_RATE/100).toFixed(2) Now you have all the information you need to use the formula above! (MARKUP_RATE/100).toFixed(2) \times $WHOLESALE = $TOTAL_MARKUP The amount of markup on the furniture(1) is $TOTAL_MARKUP.

randRange(85, 160) randRange(1,11)*5 + 30 roundTo(2,(MARKUP_RATE/100)*WHOLESALE).toFixed(2) roundTo(2,((MARKUP_RATE/100)*WHOLESALE)+WHOLESALE)

The manager at person(1)'s Furniture Store is trying to figure out how much to charge for a furniture(1) that just arrived. If the furniture(1) was bought at a wholesale price of $WHOLESALE and person(1)'s Furniture Store marks up all furniture by MARKUP_RATE%, at what price should the manager sell the furniture(1)? RETAIL_PRICE In order to find the retail price, we must first find the amount of markup. Remember that a markup rate is a percentage of the wholesale price that a store adds to get a selling or retail price. With this knowledge, we can figure out the following equation: markup rate \times wholesale price = amount of markup Since the markup rate is a percentage, we have to convert it into a decimal first. Percent means "out of one hundred," so MARKUP_RATE\% is equivalent to \displaystyle\frac{MARKUP_RATE}{100} which is also equal to MARKUP_RATE \div 100. MARKUP_RATE \div 100 = (MARKUP_RATE/100).toFixed(2) Now you have all the information you need to find the amount of markup! (MARKUP_RATE/100).toFixed(2) \times $WHOLESALE.toFixed(2) = $TOTAL_MARKUP Since the markup rate is a percentage of the wholesale price that is added to get the retail price, we can find the retail price with the following equation: amount of markup + wholesale price = retail price $TOTAL_MARKUP + $WHOLESALE.toFixed(2) = $RETAIL_PRICE.toFixed(2)

The retail price of the furniture(1) should be $RETAIL_PRICE.toFixed(2). randRange(5,15) randRange(250,880).toFixed(2) roundTo(2,(COMMISSION_RATE/100)*PRICE).toFixed(2) person(1) works at a nearby electronics store. He(1) makes a commission of COMMISSION_RATE% on everything he(1) sells. If he(1) sells a electronic(1) for$PRICE, how much money does person(1) make in commission?

TOTAL_COMMISSION

A commission rate is a percentage of the retail price of an item that the seller makes if he or she can sell the item. To find the amount of commission made, use the following formula:

commission rate \times retail price = amount of commission made

Since the commission rate is a percentage, we have to convert it into a decimal first. Percent means "out of one hundred," so COMMISSION_RATE\% is equivalent to \displaystyle\frac{COMMISSION_RATE}{100} which is also equal to COMMISSION_RATE \div 100.

COMMISSION_RATE \div 100 = (COMMISSION_RATE/100).toFixed(2)

Now you have all the information you need to use the formula above!

(COMMISSION_RATE/100).toFixed(2) \times $PRICE = $TOTAL_COMMISSION

The amount of commission person(1) makes by selling a electronic(1) is $TOTAL_COMMISSION. randRange(1,8)*50 randRange(5,15) randRange(1,11)*550 roundTo(2,(COMMISSION_RATE/100)*SALES).toFixed(2) roundTo(2,(COMMISSION_RATE/100)*SALES+BASE_SALARY) person(1) earns a base salary of$BASE_SALARY every week with an additional COMMISSION_RATE% commission on everything he(1) sells. If person(1) sold $SALES worth of items last week, what was his(1) total salary? TOTAL_SALARY First, find the amount of commission made by using the following formula: commission rate \times total sales = amount of commission made Since the commission rate is a percentage, we have to convert it into a decimal first. Percent means "out of one hundred," so COMMISSION_RATE\% is equivalent to \displaystyle\frac{COMMISSION_RATE}{100} which is also equal to COMMISSION_RATE \div 100. COMMISSION_RATE \div 100 = (COMMISSION_RATE/100).toFixed(2) Now you have all the information you need to find the amount of commission made: (COMMISSION_RATE/100).toFixed(2) \times $SALES.toFixed(2) = $TOTAL_COMMISSION We can find the total salary for person(1) by adding the amount of commission made to his(1) base salary. amount of commission made + base salary = total salary $TOTAL_COMMISSION + $BASE_SALARY.toFixed(2) = $TOTAL_SALARY.toFixed(2)

The total salary person(1) made last week was \$TOTAL_SALARY.toFixed(2).