A Conversation for Ask h2g2
How many ways to change a dollar bill?
Yelbakk Started conversation Mar 6, 2015
In US money, there are Pennies, Nickels, Dimes, and Quarters and Fifty Cents.
A Penny coin is one cent.
A Nickle is five cents.
A Dime is 10 cents.
A quarter is twenty-five cents.
A Fifty Cents coin is, you guessed it, fifty cents.
So... How many ways are there to make one dollar out of coins?
Can you make it out? Is there a reasonable approach to calculate it?
Y.
How many ways to change a dollar bill?
Icy North Posted Mar 6, 2015
An algorithm wouldn't be difficult, but please don't ask me to write one now - I'll leave that, erm, as an exercise for my students.
How many ways to change a dollar bill?
Pink Paisley Posted Mar 6, 2015
Interesting. And more complicated in the UK where we also have an extra coin.
1p
2p
5p
10p
20p
50p
I'm off to raid my piggy bank to work it out.
Back in a couple of years.......
PP.
How many ways to change a dollar bill?
Icy North Posted Mar 6, 2015
Now work it out if one of the pennies is a Lincoln cent.
How many ways to change a dollar bill?
paulh, vaccinated against the Omigod Variant Posted Mar 6, 2015
No. You could make things vastly more complicated in all sorts of ways -- Wheat pattern patterns, Indian-head pennies, quarters for each of the fifty states -- but shouldn't a penny be *just* a penny? If it's worth one cent, it should be regarded as worth any other penny that's worth one cent. I think the concept is called fungibility.
How many ways to change a dollar bill?
Icy North Posted Mar 6, 2015
Yes, but it shows the value of an algorithm - you can parametrise for this sort of thing.
How many ways to change a dollar bill?
paulh, vaccinated against the Omigod Variant Posted Mar 6, 2015
I'm not saying it isn't useful in some ways. Chances are, though, that a shop clerk who has to make quick change for a dollar is going to go with the fastest and easiest way, not stop to calculate all the possible combinations. Occam's razor, that sort of thing.
How many ways to change a dollar bill?
Orcus Posted Mar 8, 2015
Permutations and combinations maths - get thee back to the classroom - A level maths in the UK this sort of thing
How many ways to change a dollar bill?
paulh, vaccinated against the Omigod Variant Posted Mar 8, 2015
Key: Complain about this post
How many ways to change a dollar bill?
- 1: Yelbakk (Mar 6, 2015)
- 2: Icy North (Mar 6, 2015)
- 3: Pink Paisley (Mar 6, 2015)
- 4: bobstafford (Mar 6, 2015)
- 5: Icy North (Mar 6, 2015)
- 6: paulh, vaccinated against the Omigod Variant (Mar 6, 2015)
- 7: Icy North (Mar 6, 2015)
- 8: paulh, vaccinated against the Omigod Variant (Mar 6, 2015)
- 9: Orcus (Mar 8, 2015)
- 10: paulh, vaccinated against the Omigod Variant (Mar 8, 2015)
More Conversations for Ask h2g2
Write an Entry
"The Hitchhiker's Guide to the Galaxy is a wholly remarkable book. It has been compiled and recompiled many times and under many different editorships. It contains contributions from countless numbers of travellers and researchers."