Friday, March 23, 2007
Thursday, March 8, 2007
Friday, February 23, 2007
Positional vs. Non-Positional
The difference between the positional and non-positional number systems is simple. The positional system is based on exactly where the numbers are in the sequence of numbers; as opposed to non-positional number systems where the position of the number isn't a determining factor. An expamle of the non-positional system would be roman numerals.
Decimal to Binary
You need to take 529 and start dividing it by two, keeping track of the quotient and the remainder.
Decimal - Quotient -- Remainder ------- Binary
529 ----- 264 ------ 1 ------------------ 1
264 ----- 132 ------ 0 ----------------- 01
132 ----- 66 ------ 0 ---------------- 001
66 ------ 33 ------ 0 --------------- 0001
33 ------ 16 ------ 1 -------------- 10001
16 ------ 8 ------- 0 ------------- 010001
8 ------- 4 ------- 0 ------------ 0010001
4 ------- 2 ------- 0 ----------- 00010001
2 ------- 1 ------- 0 ---------- 000010001
1 ------- 0 ------- 1 --------- 1000010001
Therefore the binary number for 529 is 1000010001.
Decimal - Quotient -- Remainder ------- Binary
529 ----- 264 ------ 1 ------------------ 1
264 ----- 132 ------ 0 ----------------- 01
132 ----- 66 ------ 0 ---------------- 001
66 ------ 33 ------ 0 --------------- 0001
33 ------ 16 ------ 1 -------------- 10001
16 ------ 8 ------- 0 ------------- 010001
8 ------- 4 ------- 0 ------------ 0010001
4 ------- 2 ------- 0 ----------- 00010001
2 ------- 1 ------- 0 ---------- 000010001
1 ------- 0 ------- 1 --------- 1000010001
Therefore the binary number for 529 is 1000010001.
Binary to decimal
To convert 11001010 to a decimal number you need to align 11001010 with the powers of two starting at the right side. Always start on the right side and start with 2^0 and move upwards.
Example:
2^7 2^6 2^5 2^4 2^3 2^2 2^1 2^0
1 1 0 0 1 0 1 0
After this you need to figure out the total of the numbers with a 1 under them, add all of these together.
128+64+8+2 You get 202.
Example:
2^7 2^6 2^5 2^4 2^3 2^2 2^1 2^0
1 1 0 0 1 0 1 0
After this you need to figure out the total of the numbers with a 1 under them, add all of these together.
128+64+8+2 You get 202.
Friday, February 16, 2007
lab 5
Lab 5 Andy Clark's
The chapter, “Global Swarming,” is interesting and dealt with the comparisons and how people, animals, and computers follow different trends to combine systems of efficient life. Clark brings up "positive feedback" as an idea. It gives a positive reinforcement for an action. It is similar to how ants use pheromones to create paths to the closest food source. When the food source runs out, the path to the next closest food source will then have the most pheromones. The food is the reinforcement and is subconsciously a positive feedback. Toward the end of the chapter, Clark introduced the “TTT world” (things that think). I found this interesting, in that it appears that most every aspect of life is monitored and taken care of when needed. This was interesting to learn about how things would be if everything thought for itself.
The chapter, “Global Swarming,” is interesting and dealt with the comparisons and how people, animals, and computers follow different trends to combine systems of efficient life. Clark brings up "positive feedback" as an idea. It gives a positive reinforcement for an action. It is similar to how ants use pheromones to create paths to the closest food source. When the food source runs out, the path to the next closest food source will then have the most pheromones. The food is the reinforcement and is subconsciously a positive feedback. Toward the end of the chapter, Clark introduced the “TTT world” (things that think). I found this interesting, in that it appears that most every aspect of life is monitored and taken care of when needed. This was interesting to learn about how things would be if everything thought for itself.
Subscribe to:
Posts (Atom)