Sometimes (?) Of having to convert a number expressed in base 2 (ie binary) in base 10, but without the technological means available. Here is one method (using as an example 11001000):
- take the first digit on the left (1), the doubles and add the next digit:
- you continue to go right to the limit the number, doubling for each digit and adding, when necessary, 1:
- the number, in decimal form, is therefore 200. An algorithm
0 comments:
Post a Comment