
22-09-2008, 20:16
|
 |
|
|
חבר מתאריך: 23.09.03
הודעות: 12,154
|
|
תהנה
http://express.howstuffworks.com/autopsy-vending.htm
ציטוט:
|
When you insert a coin, it rolls past a series of electromagnets (coils of wire with electricity running through them). These electromagnets create an electromagnetic energy field. Any metal object - like a coin - will disturb this field. Quarters, pennies, dimes, nickels and fake coins affect the field differently, because they are made up of different metals and vary in thickness. Depending on how the field changes, the coin mech knows what kind of coin you inserted. It sorts the good coins into different stacks and tells the computer how much money you've put in.
|
_____________________________________
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. -Rick Cook
|