English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

If 1=1 and 10=2 in a binary system, how would you write a value of 1/2 of 1?

2006-10-10 10:07:08 · 8 answers · asked by Wasting Time 2 in Science & Mathematics Mathematics

8 answers

Only positive integers can be represented directly in binary notation.

To represent simple fractions, you must either use an ad hoc notation in which two separate binary numbers represent the segments of the fraction, or a floating point system in which a certain number of digits represent the mantissa and the exponent.

Try an internet search on "floating point numbers." The wikipedia article is reasonably clear and reliable. Good luck.

2006-10-10 10:59:30 · answer #1 · answered by aviophage 7 · 1 0

In binary 1=1 and 2 = 10 so 1/2 in decimal =1/10 in binary

2006-10-10 10:11:44 · answer #2 · answered by alan P 7 · 1 2

easy

each digit is a power of 2. Either you have 0 and there is nothing, or you have 1 and it is there.

so, in binary, 101 is "1 times 2 to the power of 2, plus 0 times 2 to the power of 1, plus 1 times 2 to the power of zero", which is 4+1 = 5.

(by the way this is the same way our decimal system works)

anyway, 1/2 is 2 to the minus one power. So that would have to be the first digit after the decimal point.

so in binary, 1/2, which we write 0.5 in the decimal system, would be 0.1

hope this helps

2006-10-10 10:15:49 · answer #3 · answered by AntoineBachmann 5 · 0 1

1 = 1 = 2 ^0, and 2=10 =1*2^1 + 0*2^0
and 1/2 =2^(-1) =0.1 in binary.

Let's see an example: 16.5 in decimal =?? in binary?
Answer: 16=2^4 = 10000 and 0.5 = 2^-1 therefore as if I'll move after the decimal point beginning with 2^-1 then 2^-2 and so on...
therefore 16.5 = 10000.1 in binary.

To understand more: Consider the decimal point as an origin point, to its right 2^-1, 2^-2,....and to its left 2^0, 2^1, 2^2....increasing to left.

2006-10-10 10:20:37 · answer #4 · answered by sparkling_noni 2 · 0 1

it is ordinary to artwork out. write your 8 bits as strains alongside the website, then initiate with a million by way of fact the 1st bit, the 2d bit is 2X1 = 2, the third bit is 2X2 = 4, the fourth bit is 2X4 = 8 etc till the 8th bit that's 128 (2X64). upload all those numbers mutually and you get 255 or 11111111 in binary.

2016-11-27 19:52:21 · answer #5 · answered by rosenberg 4 · 0 0

10/100

2006-10-10 11:11:41 · answer #6 · answered by Arc 2 · 0 0

0.5 or .5

2006-10-10 10:09:46 · answer #7 · answered by GhandiDahandi 3 · 0 3

0.1

2006-10-10 10:10:44 · answer #8 · answered by amania_r 7 · 1 2

fedest.com, questions and answers