Binary to Decimal Conversion examples - Engineering-Notes

Welcome to our Website basicenggknowledge.blogspot.com

Binary to Decimal Conversion examples

Binary Number System

In binary number System, the number are in the form of (0, 1).
0 for Low and 1 for High .
The Symbol 0, 1 Known as bits.

The Format used in binary number system is

           ..... 23  22  21  20    ·      2-1  2-2  2-3 …….
20 = 1
2= 2
2= 4
2= 8
or in simple form it is ..... 8, 4, 2, 1  ·  0.5, 0.25, 0.125…….
Binary to Decimal conversion

Example 1. Convert the binary number (1 1 0 1 0 1)2 to decimal.
Sol. Just apply the format of binary no. to the number which have value 1 and simply add it
Now Add the number to get the result.
32 + 16 + 4 + 1 = 53
so the Binary conversion of (1 1 0 1 0 1)2 to Decimal is 53. 
Note:  binary value  (1 1 0 1 0 1)2 has a base 2 because it represents the number is in binary form.

Example 2. Convert the fractional binary number  (0.1011)2  into decimal.
Sol.       First  Determine  the weight of each bit and then sum the weights times the bit.
Now Add the number to get the result.
0.5 + 0.125 + 0.0625  = 0.6875
so the Binary conversion of  (0.1011)2 to decimal is 0.6875.

Note:  binary value  (0.1011)2 has a base 2 because it represents the number is in binary form.
Decimal to Binary conversion

Easy Method to Find Binary to Equivalent  is as follows .
For Example : 9 is convert to binary.
                        so  8 + 1 = 9
By using Binary format  i.e.,  ( 8  4  2  1).  We can convert 9 decimal into binary.

Just put 1 below the number by which we can get 9 by adding those number and 0 to others.


So, the binary conversion of 9 is ( 1 0 0 1)2.

Example 1: Convert the following decimal numbers to binary :
                  (a)25              (b) 58
Sol. (a)  25 =  16 + 8 + 1
By using binary format ,we can convert 25 decimal number into binary .
Just put 1 below the number by which we can get 25 and 0 to others.
So, the binary conversion of 25 is ( 1 1 0 0 1)2.

(b) 58 = 32 + 16 + 8 + 2
Apply same method , Just put 1 below the number by which we can get 58 and 0 to others.
So, the binary conversion of 58 is ( 1 1 1 0 1 0 )2.

Note:  binary value  ( 1 1 1 0 1 0 )2 has a base 2 because it represents the number is in binary form.

1 comment:

HELP YOUR FRIENDS :

SHARE THIS POST TO YOUR CIRCLE WHO NEEDS THIS


Popular Posts