我正在尝试构建一个图形说明如何解决二进制乘法,但在尝试对齐数组的单元格时遇到了一些问题。以下是代码:
\begin{array}{rrrrrr}
&&1&1&0 & * \\
&&&1&1 & = \\
\end{array}\newline
\rule{0.25\textwidth}{0.4pt}\\
\begin{array}{rrrrrr}
&&1&1&0 & \\
&1&1&0&- & \\
\end{array}\newline
\rule{0.25\textwidth}{0.4pt}\\
\begin{array}{rrrrrr}
1&0&0&1&0_2 \\
\end{array}\newline