Difference between revisions of "Conversions"
(→Denary to Binary) |
(→Denary to Binary) |
||
Line 32: | Line 32: | ||
Column Value 64 32 16 8 4 2 1 | Column Value 64 32 16 8 4 2 1 | ||
− | Binary | + | |
+ | Binary Number 0 1 1 0 0 1 0 |
Revision as of 14:58, 14 December 2016
Conversions
Conversions are the process in which one number system is converted to another, for example deanry to binary.
The two conversion methods mainly used are the Place value method and the Repeated division method, however the repeated divsion method only works when converting denary to any other number base
Binary to Denary
Converting binary to denary is done using the place value method, to do this you need to know the binary number system.
To convert using the place value method you write out your binary number and starting from the far right digit, substitute its corresponding denary value in if the binary number is a 1 and don't substitute it in if it's a 0.
Then add up all of the denary values and you will have the converted denary value.
For example:
Column Value 16 8 4 2 1
Binary Number 1 0 1 0 1
You would then add up the denary numbers that were substituted.
So 10101 represents 16+4+1=21 so your denary value would be 21.
Denary to Binary
Place Value Method:
In order to convert denary to binary with the place value method you need to split your denary number up into the binary system values that add up to total it, starting with the largest value that wouldn't cause the total to exceed the denary number
For example 50 would be broken down into 32,16 and 2, 64 isn't used even though its a larger value as it would cause the total to exceed 50.
You would then starting from the left place 1's and 0's in the appropriate columns for the used and unused numbers.
Column Value 64 32 16 8 4 2 1
Binary Number 0 1 1 0 0 1 0