Jamar finds some nickels and quarters in his change purse. How much money (in cents) does he have if he has 4 nickels and 11 quarters? How much money (in cents) does he have if he has n nickels and q quarters?

Respuesta :

1 nickel is worth 5 cents and 1 quarter is worth 25 cents.

So, if he has 4 nickels, this is worth 4 times 5 cents and if he has 11 quarters, this is worth 11 times 25 cents.

Both are worth the sum of these, so:

[tex]4\cdot5+11\cdot25=20+275=295[/tex]

So, he has 295 cents.

If he has n nickels and q quarters, he has 5 times n plus 25 times q worth, so he has:

[tex]5n+25q[/tex]