- #596
Enigman
- 640
- 312
EDIT-*crossed posts with collinsmark but hopefully between two of us we could clear it up better.
*
Ok, so let's begin with the variables:
*
Ok, so let's begin with the variables:
- a-no. of pennies b-no. of half-dollars c-no. of quarters d- no. of dimes e-no. of nickels
- the equations that have to hold are:
- a+b+c+d+e=50
- 0.01a+0.5b+0.25c+0.1d+0.05e=1
- But it is a general rule of math that to get unique values for all variables we need at least as many equations as there are variables- otherwise there are infinite solutions.
- But we have the constraint that a.b.c.d.e are number of coins so they are whole numbers less than 50(total no. of coins)
- After this we see that as lendav_rott said no. of pennies has to be non-zero otherwise we won't get anything near 50 coins.
- then the no. of pennies has to be a multiple of 5 with units place 5 or 0 as otherwise we have no chance of getting $1 as sum- because all other values of coins in terms of pennies are multiples of 5.
- After that its trial and error. 45 pennies and 40 pennies check out.
- When we reach 35 we see that the no. of nickels can't cover it from then on to make 50. (nickels being the least valued after a penny)
- So we can conclude that 45 and 40 pennies are the only case possible.
- Assuming equal probability for both cases 1/2*45/50+1/2*40/50=0.85
Last edited: