Skip to content

Commit 1ef6137

Browse files
authored
Merge pull request #22 from KatherineCox/master
corrections to chapter 2: 2.4.5, 2.4.7, 2.5.20, 2.5.30
2 parents c9ef41a + 02eefab commit 1ef6137

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/Epp.tex

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5268,11 +5268,11 @@ \subsubsection{Exercise 5}
52685268
\hline
52695269
1&1&1\\
52705270
\hline
5271-
1&0&0\\
5271+
1&0&1\\
52725272
\hline
5273-
0&1&1\\
5273+
0&1&0\\
52745274
\hline
5275-
0&0&0\\
5275+
0&0&1\\
52765276
\hline
52775277
\end{array}
52785278
$$
@@ -5308,19 +5308,19 @@ \subsubsection{Exercise 7}
53085308
\hline
53095309
P&Q&R&S\\
53105310
\hline
5311-
1&1&1&0\\
5311+
1&1&1&1\\
53125312
\hline
5313-
1&1&0&1\\
5313+
1&1&0&0\\
53145314
\hline
5315-
1&0&1&0\\
5315+
1&0&1&1\\
53165316
\hline
5317-
1&0&0&0\\
5317+
1&0&0&1\\
53185318
\hline
53195319
0&1&1&1\\
53205320
\hline
5321-
0&1&0&1\\
5321+
0&1&0&0\\
53225322
\hline
5323-
0&0&1&0\\
5323+
0&0&1&1\\
53245324
\hline
53255325
0&0&0&0\\
53265326
\hline
@@ -6233,7 +6233,7 @@ \subsubsection{Exercise 20}
62336233
1&0&1&0&1&0&0_\base{2}\\
62346234
-&&1&0&1&1&1_\base{2}\\
62356235
\hline
6236-
& &1&1&0&1&0_\base{2}\\
6236+
&1&1&1&1&0&1_\base{2}\\
62376237
\end{array}
62386238
$$
62396239
\end{proof}
@@ -6364,7 +6364,7 @@ \subsubsection{Exercise 30}
63646364
\begin{proof}
63656365
Due to leading 1, this is a negative integer.
63666366

6367-
$10111010_\base{2} \to $ flip the bits $\to 01000101_\base{2} \to$ add 1 $\to 01000110_\base{2} = 64 + 2 + 1 = 67_\base{10} = |-67|_\base{10}$. So the answer is $-67$.
6367+
$10111010_\base{2} \to $ flip the bits $\to 01000101_\base{2} \to$ add 1 $\to 01000110_\base{2} = 64 + 4 + 2 = 70_\base{10} = |-70|_\base{10}$. So the answer is $-70$.
63686368
\end{proof}
63696369

63706370
{\bf \color{cyan} Use 8-bit two’s complements to compute the sums in $31-36$.}

0 commit comments

Comments
 (0)