231,138 views
2 votes
2 votes
a piggy bank contains d dimes n nickels and p pennies. write an expression for the total amount of money in the bank

User Eje
by
3.2k points

1 Answer

12 votes
12 votes

Answer: 10d+5n+p

This is the total value of the coins in cents

To convert this to dollars, divide by 100. So the total value in dollars is (10d+5n+p)/100.

The three terms are

  • 10d = value of all the dimes only
  • 5n = value of all the nickels only
  • p = value of all the pennies only

------------

Let's look at an example with actual numbers.

  • d = 9 dimes
  • n = 3 nickels
  • p = 5 pennies

I picked three whole numbers at random.

So,

  • 10d = 10*9 = 90 cents comes from the dimes only
  • 5n = 5*3 = 15 cents comes from the nickels only
  • p = 5 cents comes from the pennies only

The total value is 10d+5n+p = 90+15+5 = 110 cents aka 110/100 = 1.10 dollars.

User Finchsize
by
3.3k points