The Counterfeit Coins Problem In Computer Science

Great Essays
The Counterfeit Coins Problem is a well-known complex search problem in mathematics as well as in computer science. It can be related to the data structure (such as binary tree) computer program, algorithm, Graph Theory, Therefore researching this problem is meaningful. The Counterfeit Coins problem can be described as given a set of n look-alike Coins containing One Counterfeit which is a bit heavier or lighter than the genuine Coins. The objective is to find the Counterfeit Coins in minimum numbers of weighing w (trials) with a simple arm balance scale. While a balance scale provides information about the Counterfeit Coins by comparing the weights of the two subsets of Coins, we can also detect Counterfeit Coins by a spring scale which provides …show more content…
Along with it may be given one or many true (or genuine) Coins. Our problem is a distinctive case of the Counterfeit Coins problem where we are given eight Coins and we know that one of the Coins is false and distinguishable by weight. This algorithm is based on the existing classical solution of a more formal instance of this problem, known as the Eight Coins Problem, where there eight Coins are given among which only one Coin is false. The solution is shown in Figure 1, which is a decision tree. The tree in this figure represents a set of decisions by which we can get the solution of our problem. We use H or L as a suffix to represent the Counterfeit (or false) Coins as heavier or lighter, respectively. In the solution of the eight Coins problem in the form of a decision tree in Figure 1, each internal vertex (other than leaf vertices) represents a comparison between a pair of sets of Coins using an equal arm …show more content…
The objective is to find out the false Coins using a minimum number of comparisons amongst the Coins and also to determine the characteristic feature of the false Coins whether it is heavier or lighter in comparison to each of the true Coins. Now the question is what the minimum number of comparison is required since the each Coins has the two possibility heaver and lighter, so the total possibility is 16, if we consider w is the total number of comparison then, w=log_3⁡16≅3 Twelve Coins Problem
There is piles of twelve Coins all of equal size. Elevens are of equal weight. One is a different weight. In three weighing find the Counterfeit Coins and also determine the characteristic feather of the Counterfeit Coins whether it is heavier or lighter in comparison to each true

Related Documents

  • Improved Essays

    Then count the cash in front of Mr. Smith. Finally, I will calculate and change back into local currency to Mr.…

    • 460 Words
    • 2 Pages
    Improved Essays
  • Improved Essays

    Rodrigo De Triana Summary

    • 563 Words
    • 3 Pages

    Before the coin went out of use it was worth only half a…

    • 563 Words
    • 3 Pages
    Improved Essays
  • Improved Essays

    Abolish The Penny Summary

    • 541 Words
    • 3 Pages

    Nobody ever asks for a penny back or much less cares if it falls out of their pocket. He also talks about penny cups that are next to the register to save the seller time and the buyer the inconvenience of lugging around loose change around. The penny is so worthless that the stores are willing to forget about It when your checking out or just pay for it themselves…

    • 541 Words
    • 3 Pages
    Improved Essays
  • Decent Essays

    This changed the materials of the pennies were made of. From steel with a layer of zinc to a mixture of tin and copper. This…

    • 288 Words
    • 2 Pages
    Decent Essays
  • Improved Essays

    Penny Synthesis Essay

    • 710 Words
    • 3 Pages

    Debate has arisen in the United States over the economic value and need of the penny. The penny is the United States’ coin with the smallest value---only one cent. Recently, many have been discussing getting rid of the penny. It’s a waste of money and materials to produce and they’re easily forgotten more often than used. After much deliberation, I can conclude that penny is insignificant to our economic system and getting rid of it would benefit the United States’ economy.…

    • 710 Words
    • 3 Pages
    Improved Essays
  • Improved Essays

    Penny Dbq Analysis

    • 456 Words
    • 2 Pages

    How would you have responded to this question, had it been assigned to you? If this question was assigned to me, I would have chosen to defend the penny because it is too important to American society. Review the documents. Which documents would be helpful in supporting the position you chose?…

    • 456 Words
    • 2 Pages
    Improved Essays
  • Improved Essays

    Part C: Answer each question related to the experiment. 1. Write your problem from the first page, then answer your problem(question). How will changing the surface of the penny (by adding soap) affected the number of water drops the penny can hold?…

    • 933 Words
    • 4 Pages
    Improved Essays
  • Improved Essays

    Penny Argumentative Essay

    • 1240 Words
    • 5 Pages

    The penny has lost its value in the functioning economy and should also be discontinued to to its failure to facilitate trade, cost to produce, negative effects on the opportunity cost of American citizens, and unnecessary dread to the economy. According to the U.S. Mint’s 2013 annual report, it cost 1.8 cents to mint a penny in 2013, down from 2 cents in 2012 and 2.4 cents in 2011 (United States Mint 11). This phenomenon is not strictly recent, though. The cost of manufacturing the penny has fluctuated, but the cost has been at a loss…

    • 1240 Words
    • 5 Pages
    Improved Essays
  • Improved Essays

    Penny Synthesis Essay

    • 699 Words
    • 3 Pages

    Since the year of 1787 people have been walking around with a jingle in their pants from their loose change. Today, change is only seen as two additional decimal places in an American’s bank account. In the fast moving world Americans presently live in, their time has become their most precious asset, leaving no moments to count their change to an exact value. Due to this, the existence of the penny has become a marginal inconvenience of the modern day. Altogether, the American penny is no longer practical or necessary in a world where time is money, and time is being wasted counting a cent at a time.…

    • 699 Words
    • 3 Pages
    Improved Essays
  • Improved Essays

    Currently sweeping the internet by its feet, quite the controversial question has been raised. “Should pennies be eliminated or not?” Many are posting their personal opinions as to why the U.S. should get rid of the penny, while others are seen posting as to why the U.S. should not eliminate the penny. Both sides are giving wise reasoning as to why their claim is correct, but neither coming to a conclusion anytime soon. Given the fact that there is history within the penny, the penny isn’t the only coin that costs more than it’s worth, and that rounding taxes will add up eventually without pennies, the penny should not be eliminated.…

    • 1030 Words
    • 5 Pages
    Improved Essays
  • Improved Essays

    Penny History

    • 649 Words
    • 3 Pages

    My peers, currency is one of the cornerstones of modern society, but I ask why has the penny remained for hundreds of years while several other coins the United States has minted disappeared? Why must we continue to produce coins which are worth less than nothing? Why did the penny not die out in 2006? Why do we make coins that simply aren’t worth someone’s time and money?…

    • 649 Words
    • 3 Pages
    Improved Essays
  • Improved Essays

    The penny, the nickel, the quarter, the dime. Words widely known in America. One, however, is being attacked: the penny. The penny has been around since the U.S became one nation. It honors our 16th president Abraham Lincoln, and is used daily.…

    • 833 Words
    • 4 Pages
    Improved Essays
  • Decent Essays

    Pennies Should Be Retired

    • 517 Words
    • 3 Pages

    On Dec 15, 2014 Huffington post wrote “Can we all just agree that pennies are stupid and need to be retired?” We can't agree. Huffingtonpost surveyed people and showed most people don't want to get rid of it. I strongly believe pennies should be retired because the following reasons. Pennies cost more than face value, countries have done it before, and they are not useful enough.…

    • 517 Words
    • 3 Pages
    Decent Essays
  • Improved Essays

    It was about half-way through when I realized that I had messed up. I was left puzzled. So were my parents. I could not believe that creating money would be this hard. In fact, there was even a mathematical proof backing me up.…

    • 956 Words
    • 4 Pages
    Improved Essays
  • Improved Essays

    Causes Of Robbery Essay

    • 832 Words
    • 4 Pages

    Many robbery crimes must be solved, but some crimes cannot identify if it is a robbery…

    • 832 Words
    • 4 Pages
    Improved Essays