Get to know Why the Division by ZERO is A bad Idea
Everyone learns in grade school that you cant divide by zero, but few of us ever learn (or fully understand) why. The stock answer is that it gives you an answer of infinity. The truth is a bit more nuanced than that, and an old mechanical calculator offers the perfect illustration.
Try to divide a number by zero with a standard calculator, and youll just get an error message. But check out what happens when someone tries to do this on a Facit ESA-01 mechanical calculator, with the cover helpfully removed so all the internal working are exposed:It has to do with how such machines work, and also with the nature of divisionits basically just glorified subtraction, as the folks at Numberphile will tell you. To divide 20 by 4, the mechanical calculator perform a sequence of steps: 20 minus 4 is 16, 16 minus 4 is 12, 12 minus 4 is 8, 8 minus 4 is 4, and 4 minus 4 is 0. Voila! It takes five steps, so 20 divided by 4 equals 5.
But 20 divided by zero is just subtracting nothing from 20 over and over again. The calculator never arrives at an answer because it would take an infinite number of steps. And infinity is really more of a concept than an actual number.
So as Eric Limer explains over at Popular Mechanics, The underlying cause for the freakout is that the poor machine is trying to hammer out an infinite sequence of commands, one by one. A computer will always do exactly what you tell it to do, even if that will take literally forever.
download now
Get to know Why the Division by ZERO is A bad Idea
Reviewed by hunti
on
6:19 AM
Rating: