Friday, February 23, 2007

Binary to Decimal and Reverse

To convert 110010101 to decimal, one must remember the formula that Professor Rocha gave us. So 2^8 would equal the 1 on the far left. The number beside that would be 2^7. This would continue to 2^0 which would be on the far right. For every 1, you would calculate the number for it. So for this number, you would add 2^8+2^7+2^4+2^2+2^0. This equals 405. To convert 529 to binary, you must first divide 529 by 2. Since that leaves a remainder of 1, you write a 1 down on the far right. For everytime you get a remainder, you must write a one down. If there are no remainders then write a zero down. 529 is equal to 1000010001 in binary. Positional number systems is a numeral system in which each position is related to the next by a constant multiplier, or a common ratio. This means that each position was presented with a unique symbol or by a limited set of symbols. A non-positional system means that each position does not need to be positional itself. An example of this would be the Hellenistic astronomers used one or two alphabetic Greek numerals for each position (one chosen from 5 letters representing 10–50 and/or one chosen from 9 letters representing 1–9, or a zero symbol), whereas Babylonian numerals used groups of two kinds of wedges representing ones and tens (a narrow vertical wedge ( | ) and an open left pointing wedge (<)) — up to 14 symbols per position (5 tens (<<<<<) and 9 ones ( ||||||||| ) grouped into one or two near squares containing up to three tiers of symbols, or a place holder (\\) for the lack of a position).

No comments: