Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Math & Sciences (https://www.askmehelpdesk.com/forumdisplay.php?f=402)
-   -   Help with Proof: A cents in B coins --> B dollars in A coins? (https://www.askmehelpdesk.com/showthread.php?t=559906)

  • Mar 5, 2011, 05:00 PM
    anonymous6
    Help with Proof: A cents in B coins --> B dollars in A coins?
    Hi, I need to solve this proof put I cannot seem to figure it out. I'd really appreciate some help!

    If a dollar is 100 cents and coins come in 1, 2, 5, 10, 20, 50 and 100 cents. Suppose that one can make A cents using exactly B coins. Prove that it is possible to make B dollars using exactly A coins
  • Mar 7, 2011, 09:52 AM
    ebaines

    The trick here is to notice that that each coin value in cents has a "partner" whose value is in cents. There are seven coin values, which we will call through . Hence:



    So 1 = 100/100, 2 = 100/50, 5 = 100/20, 10 = 100/10, 20 = 100/5, 50 = 100/2, and 100 = 100/1.

    When you choose the B coins the value of that set is equal to A:



    Where is the quantity of the "ith" coin value. Now suppose you select another set, but this time let the quantity of each coin value be set to . The total quantity of coins is then:



    And the value of the collection is:



    So by choosing the quantities of each coin correctly, you use A coins to get B x 100 cents, or B dollars.

    Here's an example: suppose you initially select three 1-cent pieces, two 5-cent pieces and one 10-cent piece. You have:

    B = 3 + 2 + 1 = 6 coins
    A = 3x1 + 2x5 + 1x10 = 23 cents

    You can now select 23 coins to make 6 dollars as follows:

    3x1 100-cent pieces, plus 2x5 20-cent pieces, plus 1x10 10-cent pieces. That's 23 coins with a value of 6 dollars.


    Hope this helps!
  • Mar 8, 2011, 08:19 AM
    jcaron2
    Comment on ebaines's post
    Nice!

  • All times are GMT -7. The time now is 03:29 AM.