Skip to main content

Convert Into Decimal Number

Complement of a Number   Number System   Types of Number system

      In our previous article, we had discussed about different types of Number System. Now, In this article we can easily understand how to convert Any Number in to Decimal Number System.

Convert Binary to Decimal – we convert binary to decimal by multiplying increasing power of two through right to left from decimal. If there is no decimal, we should start from the last digit and multiplying by increasing power of 2 up to first digit. If decimal occurs, then start from the first digit and multiply by decreasing power of 2 up to the last digit. Let’s understand with an example.

Ex 1. (110111)2

Sol. (1*25) + (1*24) + (0*23) + (1*22) + (1*21) + (1*20)

        (1*32) + (1*16) + (0*8) + (1*4) + (1*2) + (1*1)

        32 + 16 + 0 + 4 + 2 + 1

        (55)10                   Ans.

Ex 2. (1001.01)2

Sol. (1*23) + (0*22) + (0*21) + (1*20) + (0*2-1) + (1*2-2)

        (1*8) + (0*4) + (0*2) + (1*1) + (0*0.5) + (2*0.25)

        8 + 0 + 0 + 1 + 0 + 0.50

        (9.50)10              Ans.

Note: If Binary Number contains decimal point then after decimal point we have to start multiply by 2-1 not 20 and so on.

Convert Octal To Decimal – This also works in the same way, only difference is that we should multiply by 8 in place of 2. Because the base of octal is 8. Let’s understand with an example.

Ex 3. (763.4)8

Sol. (7*82) + (7*81) + (7*80) + (4*8-1)

        (7*64) + (7*8) + (7*1) + (7*0.125)

        448 + 56 + 7 + 0.875

        (511.875)10                           Ans.

Convert Hexadecimal To Decimal – This also works in the same way, only difference is that we should multiply by 8 in place of 2. Because the base of hexadecimal is 16. Let’s understand with an example.

Ex 4. (B65F)16

Sol. (11*163) + (6*162) + (5*161) + (15*160)

        (11* 4096) + (6*256) + (5*16) + (15*1)

        45056 + 1536 + 80 + 15

     (46687)10             Ans.

Note: In Ex 4. Here we use some alphabets as well as digits because hexadecimal has a base 16 and it takes digits through 0 to 9 and alphabets through A to F. So it takes total 10 digits and 6 alphabets in hexadecimal Number System. If you don’t understand how to take alphabets as well as digits in Ex 4. Don’t worry we will describe in detail in upcoming articles.

Trick: Any Number which you want to convert into decimal, multiply by it with its corresponding base as we had already seen in above examples.

Exercise:

Convert the following Number in to Decimal

1.       (00101.11)2

2.       (1111.11)2

3.       (421.21)5

4.       (7633.54)8

5.       (B6A54)16

 

 

You can write your answer in comment section, we will reply as soon as possible.




Comments

Popular posts from this blog

Rules of divisibility part -1

Rules of divisibility In Vedic mathematics, it can be determined whether any part of any other number can be given completely without dividing it by several methods. These methods are based on the law of divisibility. By using these rules, calculations related to factors, parts etc. are simplified. Law of divisibility by number 2 :- If unit digit of given number is divisible by 2 then the given number is divisible by 2 also.                                                                 or  If unit digit of given number is 0,2,4,6 or 8 , then given number is divisible by 2. Example :- 10 ,32 ,74 ,108 ,2058 etc. Law of divisibility by number 3 :- If the sum of digits of given number is divisible by 3, then the number is divisible by 3 also. Illustration 1:-  In 546532 sum of digits=5+4+6+5+3+2=25 25 is not divisible...

Octal and Hexadecimal Number

Complement of a Number    Types of Number system    Convert Decimal to Binary If you are new to this article, I strongly recommend to read our previous article before preceding this. In our previous article, we had already seen that binary number has a base of 2. It means that binary number contains 2 1 = 2 combinations which are 0 and 1. Similarly, Octal and Hexadecimal number has a fixed number of combinations. As we earlier know that octal has a base 8, then it contains 8 digits through 0 to 7 which means 2 3 =8 combinations and Hexadecimal has a base 16 which means it has 2 4 =16 combinations.                 If you are focusing on a sequence i.e. octal, hexadecimal. They are the combinations of increasing power of 2. Octal – 2 3 , Hexadecimal - 2 4 This power indicates how many bits are in a number for a particular number system Octal has 3 bits Hexadecimal has 4 bits T...

mathematics skills

Are you ready to give your mathematics skills a boost? These simple math tricks can help you perform calculations more quickly and easily. They also come in handy if you want to impress your teacher, parents, or friends. 01 The Answer Is 2 Think of a number. Multiply it by 3. Add 6. Divide this number by 3. Subtract the number from Step 1 from the answer in Step 4. The answer is 2. Same Three-Digit Number Think of any three-digit number in which each of the digits is the same. Examples include 333, 666, 777, and 999. Add up the digits. Divide  the three-digit number by the answer in Step 2. The answer is 37. Six Digits Become Three Take any three-digit number and write it twice to make a six-digit number. Examples include 371371 or 552552. Divide the number by 7. Divide it by 11. Divide it by 13. The order in which you do the division is unimportant! The answer is the three-digit number. Examples: 371371 gives you 371 or 552552 gives you 552. A related trick is to take any three-di...