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

Complement of a Number

Subtraction of Binary Numbers  ;  Octal and Hexadecimal Number  ;  Convert Decimal to Binary Complements Complements are used in digital computers for simplifying the subtraction operation and for logical manipulations. There are two types of complements for each base-r system: (1) the r’s complement and (2) the (r-1)’s complement. When the value of the base is substituted, the two types receive the names 2’s and 1’s complement for binary numbers,  10’s and 9’s complement for decimal numbers. The r’s Complement Given a positive number N in base r with an integer part of n digits, the r’s complement of N is defined as r n   - N for N is not equal to 0 and 0 for N = 0. The following numerical example will help clarify the definition. The 10’s complement of (52520) 10 is 10 5 – 52520 = 47480 The number of digits in the number is n= 5 The 10’s complement of (0.3267) 10 is 1 – 0.3267 = 0.6733 No integer part, so 10 n = 10 0 = 1 The 10’s...

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...

Types of Number System

Different Number Systems – There are some different Number System with correspondence base. Which will describe as follows-   Number System  Base  Representation  Binary Number System      2  (Number) 2  Decimal Number System      10  (Number) 10  Octal Number System      8  (Number) 8  Hexadecimal Number System     16   (Number) 16 Note : Any number can be in decimal form. So there is an another way to solve them quickly. Let’s understand with an example. Ex 1. (4064.10) 10   Sol. This Number can also be written as (4*10 3 ) + (0*10 2 ) + (6*10 1 ) + (4*10 0 ) + (1*10 -1 ) + (0*10 -2 ) Note that after decimal digits we will use decreasing power of 10 from left to right. Ex 2.   (1101.01) 2        Sol. This Number can also be written as (1*2 3 ) + (1*2 2 ) + (0*2 1 ) + (1*2 0 ) + (0*2 -1 ) + (0*2 -2 ) Exercise: From Ques...