Thursday, May 21, 2020
Changing from Base 10 to Base 2 in Mathematics
Suppose we have a number in base 10 and want to find out how to represent that number in, say, base 2. How do we do this? Well, there is a simple and easy method to follow. Letââ¬â¢s say I want to write 59 in base 2. My first step is to find the largest power of 2 that is less than 59.So letââ¬â¢s go through the powers of 2: 1, 2, 4, 8, 16, 32, 64. Okay, 64 is larger than 59 so we take one step back and get 32. 32 is the largest power of 2 that is still smaller than 59. How many ââ¬Å"wholeâ⬠(not partial or fractional) times can 32 go into 59? It can go in only once because 2 x 32 64 which is larger than 59. So, we write down a 1. 1 Now, we subtract 32 from 59: 59 ââ¬â (1)(32) 27. And we move to the next lower power of 2. In this case, that would be 16. How many full times can 16 go into 27? Once. So we write down another 1 and repeat the process. 1 1 27 ââ¬â (1)(16) 11. The next lowest power of 2 is 8.How many full times can 8 go into 11?Once. So we write down another 1. 111 11 11 ââ¬â (1)(8) 3. The next lowest power of 2 is 4.How many full times can 4 go into 3?Zero.So, we write down a 0. 1110 3 ââ¬â (0)(4) 3. The next lowest power of 2 is 2.How many full times can 2 go into 3?Once. So, we write down a 1. 11101 3 ââ¬â (1)(2) 1. And finally, the next lowest power of 2 is 1. How many full times can 1 go into 1?Once. So, we write down a 1. 111011 1 ââ¬â (1)(1) 0. And now we stop since our next lowest power of 2 is a fraction.This means we have fully written 59 in base 2. Exercise Now, try converting the following base 10 numbers into the required base 16 into base 416 into base 230 in base 449 in base 230 in base 344 in base 3133 in base 5100 in base 833 in base 219 in base 2 Solutions 1001000013211000110101122101314410000110011
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.