this is for holding javascript data
Michela Ceria edited section_Solutions_and_hints_for__.tex
about 6 years ago
Commit id: ee3fac9016a36a97a35810b580e997879ce0b7ab
deletions | additions
diff --git a/section_Solutions_and_hints_for__.tex b/section_Solutions_and_hints_for__.tex
index cfa1a8f..244276a 100644
--- a/section_Solutions_and_hints_for__.tex
+++ b/section_Solutions_and_hints_for__.tex
...
\item $1 \cdot (0 + 1) + 0 \cdot (1 + 1)= (1\cdot 0)+(1\cdot 1)+(0\cdot 1)+(0\cdot 1)= 0+1+0+0=1$
\end{itemize}
\textbf{Exercise 5.}
\\
First of all, we notice that XOR behaves as the sum of bits, whereas AND behaves as multiplication.\\
We cannot say the same for OR. Moreover:
\begin{itemize}
\item $\textrm{NOT }((\textrm{NOT }a) \textrm{ AND }(\textrm{NOT }b)) = a\textrm{ OR }b$
\item $\textrm{NOT }((\textrm{NOT }a)\textrm{ OR }(\textrm{NOT }b)) = a\textrm{ AND }b$