„Kettes számrendszer” változatai közötti eltérés
[nem ellenőrzött változat] | [ellenőrzött változat] |
Tartalom törölve Tartalom hozzáadva
Címkék: Visszaállítva Vizuális szerkesztés |
a Visszaállítottam a lap korábbi változatát 195.199.137.49 (vita) szerkesztéséről Nyiffi szerkesztésére Címke: Visszaállítás |
||
19. sor:
{| border="0" cellspacing="10" cellpadding="0"
||
{| border="1" cellspacing="0" cellpadding="5"
! style="background-color:#efefef;" |Összeadás
! style="background-color:#efefef;" |Példa
|-
|0 + 0 = 0<br />
0 + 1 = 1<br />
1 + 0 = 1<br />
1 + 1 = 10
|<math>
{\begin{matrix}
&1011_2\\
\operatorname{+}&\ \ \ 11_2\\
\end{matrix}
\over
\begin{matrix}
&\ \ 1110_2\\
\end{matrix}}
</math>
|}
||
{| border="1" cellspacing="0" cellpadding="5"
! style="background-color:#efefef;" |Kivonás
! style="background-color:#efefef;" |Példa
|-
|0 − 0 = 0<br />
0 − 1 = −1<br />
1 − 0 = 1<br />
1 − 1 = 0
||<math>
\begin{matrix}
&1011_2\\
{-\ }&\ \ 111_2\\
\end{matrix}
\over
\begin{matrix}
&\ \ \ \ \ 100_2
\end{matrix}
</math>
|}
|-----
| style="vertical-align:top;"|
{| border="1" cellspacing="0" cellpadding="5"
! style="background-color:#efefef;" |Szorzás
! style="background-color:#efefef;" |Példa
|-
|0 <math>\cdot</math> 0 = 0<br />
0 <math>\cdot</math> 1 = 0<br />
1 <math>\cdot</math> 0 = 0<br />
1 <math>\cdot</math> 1 = 1
||<math>
\begin{matrix}
&1010_2\\
{\cdot}&\ \ \ 11_2\\
\end{matrix}
\over
\begin{matrix}
&11110_2
\end{matrix}
</math>
|}
||
{| border="1" cellspacing="0" cellpadding="5"
! style="background-color:#efefef;" |Osztás
! style="background-color:#efefef;" |Példa
|-
|0 / 0 = n.def.<br />
0 / 1 = 0<br />
1 / 0 = n.def.<br />
1 / 1 = 1
|<math>
\begin{matrix}
&1010_2\\
{/}&\ \ \ 10_2\\
\end{matrix}
\over
\begin{matrix}
&\ \ \ 101_2
\end{matrix}
</math>
|}
|}
|