Question 1189072
<font face="Times New Roman" size="+2">
9.b).(iii)

Two's Complement, negative number.  Represent the absolute value, then flip all bits, then add 1:


-123


Absolute value representation:


123 = 1 X 64 + 1 X 32 + 1 X 16 + 1 X 8 + 0 X 4 + 1 X 2 + 1 X 1, so


<pre>
        0 1 1 1 1 0 1 1
</pre>


Flip all bits:


<pre>
        1 0 0 0 0 1 0 0
</pre>

Then add 1


<pre>
        1 0 0 0 0 1 0 1
</pre>


Check:  Absolute value representation plus negative number representation should sum to zero (discard final carry)


<pre>
        1 0 0 0 0 1 0 1
      + 0 1 1 1 1 0 1 1
       ----------------
        0 0 0 0 0 0 0 0       
</pre>

																
John
*[tex \LARGE e^{i\pi}\ +\ 1\ =\ 0]
My calculator said it, I believe it, that settles it
*[illustration darwinfish.jpg]

From <https://www.algebra.com/cgi-bin/upload-illustration.mpl> 
I > Ø
*[tex \Large \ \
*[tex \LARGE \ \ \ \ \ \ \ \ \ \  
								
{{n}\choose{r}}
</font>