Thursday 7 June 2012

binary subtraction

Now today we will discuss about binary subtractionIn the mathematics the number which has base two is known as binary number. In binary number system only two digits are used which are 0 and 1.
For example: 1011 represents (1 × 23) + (0 × 22) + (1 × 21) + (1 × 20), they represent 8 + 0 + 2 + 1, and equals to 11.
Now we will see the binary subtraction.
To finding the subtraction in the binary number system we have to follow some of the step which is given below.
Step1: Calculating subtraction first we take the number.
Step2: It is necessary to remember that the number should be in the form of 0 and 1 binary digit.
Step3: Subtracting the values we have to follow such above conditions, if we subtract the number 0 from the number 0 then we get 0. When we subtract number 1 from the number 0 then we get 1. We subtract the number 0 from the number 1 then we get 1 with borrow. When we subtract the number 1 from the number 1 then we get 0, all these values have base 2 because the binary number is defined in the base 2 only.
Suppose we have 01010 and 1010, and we to do subtraction then it can be done as shown below.
For subtraction we need to follow above steps to find the result.
Step1: First take two numbers and the numbers should be in the form of binary number system.
01010 and 1010,
Step2: Then apply all the steps one by one.
(01010)2 – (1010)2
01010
  1010
If we subtract 0 from 0 then we get 0; rule number 1;
01010
  1010
        0
If we subtract 1 from 1 then we get 0; apply rule number 4;
01010
  1010
      00
now subtract 0 from 0 we get 1.
01010
  1010
    000
Now we subtract 1 from 1 then we get 0.
01010
  1010
  0000
Now borrow will add to next digit. So the number is:
01010
  1010
 10000
So the value is 10000.
Gamma Distribution is related to the statistical distribution which is also related to the beta distribution. ICSE examination is organised by the council for the Indian school certificate examination and in next session we will discuss about What are Binary Numbers.

No comments:

Post a Comment