Page 2 of 2 • 1, 2
Re: Decimal  Binary Conversion
on Fri Aug 17, 2018 4:51 pm
But as well as having 10 digits ( 0 through 9 ), the decimal numbering system also has the operations of addition ( + ), subtraction ( – ), multiplication ( × ) and division ( ÷ ).
Re: Decimal  Binary Conversion
on Fri Aug 17, 2018 4:51 pm
In a decimal system each digit has a value ten times greater than its previous number and this decimal numbering system uses a set of symbols, b, together with a base, q, to determine the weight of each digit within a number. For example, the six in sixty has a lower weighting than the six in six hundred. Then in a binary numbering system we need some way of converting Decimal to Binary as well as back from Binary to Decimal.
Re: Decimal  Binary Conversion
on Fri Aug 17, 2018 4:52 pm
The Decimal Numbering System
In the decimal, base10 (den) or denary numbering system, each integer number column has values of units, tens, hundreds, thousands, etc as we move along the number from right to left. Mathematically these values are written as 100, 101, 102, 103 etc. Then each position to the left of the decimal point indicates an increased positive power of 10. Likewise, for fractional numbers the weight of the number becomes more negative as we move from left to right, 101, 102, 103 etc.
In the decimal, base10 (den) or denary numbering system, each integer number column has values of units, tens, hundreds, thousands, etc as we move along the number from right to left. Mathematically these values are written as 100, 101, 102, 103 etc. Then each position to the left of the decimal point indicates an increased positive power of 10. Likewise, for fractional numbers the weight of the number becomes more negative as we move from left to right, 101, 102, 103 etc.
Re: Decimal  Binary Conversion
on Fri Aug 17, 2018 4:52 pm
So we can see that the “decimal numbering system” has a base of 10 or modulo10 (sometimes called MOD10) with the position of each digit in the decimal system indicating the magnitude or weight of that digit as q is equal to “10” (0 through 9). For example, 20 (twenty) is the same as saying 2 x 101 and therefore 400 (four hundred) is the same as saying 4 x 102.
Re: Decimal  Binary Conversion
on Fri Aug 17, 2018 4:52 pm
The value of any decimal number will be equal to the sum of its digits multiplied by their respective weights. For example: N = 616310 (Six Thousand One Hundred and Sixty Three) in a decimal format is equal to:
6000 + 100 + 60 + 3 = 6163
or it can be written reflecting the weight of each digit as:
( 6×1000 ) + ( 1×100 ) + ( 6×10 ) + ( 3×1 ) = 6163
or it can be written in polynomial form as:
( 6×103 ) + ( 1×102 ) + ( 6×101 ) + ( 3×100 ) = 6163
Where in this decimal numbering system example, the left most digit is the most significant digit, or MSD, and the right most digit is the least significant digit or LSD. In other words, the digit 6 is the MSD since its left most position carries the most weight, and the number 3 is the LSD as its right most position carries the least weight.
6000 + 100 + 60 + 3 = 6163
or it can be written reflecting the weight of each digit as:
( 6×1000 ) + ( 1×100 ) + ( 6×10 ) + ( 3×1 ) = 6163
or it can be written in polynomial form as:
( 6×103 ) + ( 1×102 ) + ( 6×101 ) + ( 3×100 ) = 6163
Where in this decimal numbering system example, the left most digit is the most significant digit, or MSD, and the right most digit is the least significant digit or LSD. In other words, the digit 6 is the MSD since its left most position carries the most weight, and the number 3 is the LSD as its right most position carries the least weight.
Re: Decimal  Binary Conversion
on Fri Aug 17, 2018 4:52 pm
The Binary Numbering System is the most fundamental numbering system in all digital and computer based systems and binary numbers follow the same set of rules as the decimal numbering system. But unlike the decimal system which uses powers of ten, the binary numbering system works on powers of two giving a binary to decimal conversion from base2 to base10.
Re: Decimal  Binary Conversion
on Fri Aug 17, 2018 4:53 pm
Digital logic and computer systems use just two values or states to represent a condition, a logic level “1” or a logic level “0”, and each “0” and “1” is considered to be a single digit in a Baseof2 (bi) or “binary numbering system”.
Re: Decimal  Binary Conversion
on Fri Aug 17, 2018 4:54 pm
In the binary numbering system, a binary number such as 101100101 is expressed with a string of “1’s” and “0’s” with each digit along the string from right to left having a value twice that of the previous digit. But as it is a binary digit it can only have a value of either “1” or “0” therefore, q is equal to “2” (0 or 1) with its position indicating its weight within the string.
Re: Decimal  Binary Conversion
on Fri Aug 17, 2018 4:55 pm
As the decimal number is a weighted number, converting from decimal to binary (base 10 to base 2) will also produce a weighted binary number with the righthand most bit being the Least Significant Bit or LSB, and the lefthand most bit being the Most Significant Bit or MSB
Re: Decimal  Binary Conversion
on Fri Aug 17, 2018 4:56 pm
Binary numbers can be added together and subtracted just like decimal numbers with the result being combined into one of several size ranges depending upon the number of bits being used. Binary numbers come in three basic forms – a bit, a byte and a word, where a bit is a single binary digit, a byte is eight binary digits, and a word is 16 binary digits.
Re: Decimal  Binary Conversion
on Fri Aug 17, 2018 8:45 pm
I thought this type of conversion is very hard. But because of this I am enlightened on how to do it
Re: Decimal  Binary Conversion
on Fri Aug 17, 2018 8:46 pm
Are there any other method on converting these two?
Page 2 of 2 • 1, 2
Permissions in this forum:
You cannot reply to topics in this forum

