Friday, March 6, 2020

Binary To Decimal

Binary To Decimal Binary numbers are the numbers which consist of only two digits, 1 and 0. Because of this reason, binary numbers are also known as base-2 numbers. Decimal numbers are the numbers we see on the real number line. Decimal numbers consists of digits from 0 to 9 and hence they are called the base-10 numbers. The numbers can be converted from binary to decimal format by following the method shown below. Example 1: Convert the given binary number into decimal number 11010. To convert the given binary number to decimal number, we can follow the method known as the Positional Notation method. Start from the binary number on the right: 20 * 0 = 0 Next we get: 21 * 1 = 2 22 * 0 = 0 23 * 1 = 8 24 * 1 = 16 Adding all the above answers, we get: 0 + 2 + 0 + 8 + 16 = 26 (base 10) is the answer! Hence the binary number 11010 when converted to its decimal number is 26. Example 2: Convert the given binary number into decimal number 101101 Start from the binary number on the right: 20 * 1 = 1 Next we get: 21 * 0 = 0 22 * 1 = 4 23 * 1 = 8 24 * 0 = 0 25 * 1 = 32 Add all the above answers we get, 1 + 0 + 4 + 8 + 0 + 32 = 45(base 10) is the answer! Hence the binary number 101101 when converted to its decimal number is 45.

No comments:

Post a Comment

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