In Leigh's math and logic fundamental lessons, we've been learning: binary and decimal numbers. Personally, I expected it to be complex although the way it was explained, sounded much easier and the execution is easier though thought-provoking.
We converted decimals to binary, converting binary to decimals and translated our names and birthday into binary. Because of this, I cheated my way into the letters by using the 26 numbers as a logic. A = 1, B = 2, C = 3.... etc. It is the most logical way of interpreting letters to numbers into binary. My name in binary would be: 011 1 100 101 1101 1 10011 1111 1110 which translates into Cade Mason.
From the next task, we converted our DOB's into binary (I won't reveal it because I'd rather not expose my info) Afterwards, I cracked the code that was given to us: Code: 3, 1, 4, 5, 13, 1, 19, 15, 14
Translation from binary: 011 1 100 101 1101 1 10011 1111 1110
I will briefly go over the steps on how to convert binary to decimal and decimal to binary.
How to convert binary to decimal:
1) Take any binary number and consider how each digit is expressed as a power of 2
2) Identify which digits have a 1
3) Add up the POWER OF 2 values
How to convert decimal to binary:
1) Take any decimal number and divide it by 2
2) Continue to divide the results by 2 until you reach 0
3) Every time you divide and there is a remainder, write a 1, throw away the remainder and continue
4) Every time you divide and there isn’t a remainder, write a 0 and continue.
5) Write this list of 1s and 0s from right to left as the number reveal themselves
Outside of converting, what I managed to learn is that if a 1 occurs in binary, it has value whereas 0 doesn't have value. The first number on the right hand side could go by 1 and goes by the power of 2. Example: 16:0 8:0 4:1 2:0 1:1 = 5 00101 = 5
Comments