Friday, March 6, 2020

Binary Decimal Converter

Binary Decimal Converter Binary numbers are numbers different from the decimal numbers. In the binary number system, any number is represented with the combination of 1 and 0 only. However the number system which we generally use is the decimal number system and here we use all the digits starting from 0 to 9. The binary decimal converter is the method in which any binary number can be converted to its decimal number. Example 1: Convert the given binary number into decimal number 11001. To convert the given binary number to a decimal number, we can use the method known as the Doubling method. Start from the binary number on the left (0 * 2) + 1 = 1 Now multiply the previous answer 1 with 2 and add the binary number (1 * 2) + 1 = 3 (3 * 2) + 0 = 6 (6 * 2) + 0 = 12 (12* 2) + 1 = 25 Hence the binary number 11001 is equal to the decimal number which is 25. Example 2: Convert the given binary number into decimal number 101011. Start from the binary number on the left, and multiply the previous answer 1 with 2 and add the binary number. (0 * 2) + 1 = 1 (1 * 2) + 0 = 2 (2 * 2) + 1 = 5 (5 * 2) + 0 = 10 (10* 2) + 1 = 21 (21* 2) + 1 = 43 Hence the binary number 101011 is equal to the decimal number which is 43(base10).

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.