How to add two number in seconds ? Understand Mathematics
As a computer science student, i enjoyed mathematics pretty much. I started learning Machine Language and i started forgetting human language which you can see in my posts as well. So Addition, what's special about it ? Every operation a computer performs, is an addition for the system. It won't be incorrect if i say, computer can do nothing except Addition. So, a coder or a programmer design everything in form of operands and computers do addition over it directly or indirectly. We will discuss it in detail some other time. Let's try to understand, the meaning of addition ? 1+1=2 2+2=4 3+3=6 4+4=8 5+5=10.. and so on. What are we doing here ? Yes, Doubling the integer with adding the same integer to it. Does this happen to negative integers as well ? Well No! Let's see (-1)+(-1)=(-2) (-2)+(-2)=(-4).. and so on. Are they doubled ? Well, the answer is NO ! They are actually halved. This is a general doubt of doubling the negative integer...
Comments
Post a Comment