Monday, February 26, 2007

binary and decimal conversion

110010101 in binary to decimal form...


Conversion

Powers of 2: 9 8 7 6 5 4 3 2 1
What they = 512 256 128 64 32 16 8 4 1
1 1 0 0 1 0 1 0 1

512 + 256 + 0 + 0 + 32 + 0 + 8 + 0 + 1= 809 in decimal


Now decimal # 529 to binary

Powers of 2: 9 8 7 6 5 4 3 2 1
What they = 512 256 128 64 32 16 8 4 1
512 go in: 1 now its 17 1 now its 1 1 so all the blanks fill in 0's 1 0 0 0 0 1 0 0 1
100001001 is 529 in binary code.




positional and non-positional number system


A positional number system is the decimal number system it maters where each number is located
A non-positional number system is roman numerals or tallies.


I saved this as a Draft at first I hope this doesn't affect anything.

No comments: