0
2.0kviews
Calculate (-6)10-(-2)10 using 2's complement method
1 Answer
0
119views

The given numbers are negative decimal numbers

$\begin{align*} (-6)^{10}=10's \ complement \ of \ 6&=r^n-N\\ &=10^1-(-6)\\ &=16 \end{align*}$

$\begin{align*} (-2)^{10}=10's \ complement \ of \ 2&=r^n-N\\ &=10^1-(-2)\\ &=12 \end{align*}$

Binary Representation of (16)10=00010000→(1)

Binary Representation of (12)10=00001100→(2)

$\begin{align*} 2's \ complement \ of& \ 00001100\\ &=11110011+1\\ &=11110100 \rightarrow (3) \end{align*}$ …

Create a free account to keep reading this post.

and 2 others joined a min ago.

Please log in to add an answer.