I have wondered for quite some time how vending machines tell the difference between actual coins or fake money and…