Binary

From Qunet
Revision as of 11:05, 18 May 2022 by Akelle (talk | contribs) (Binary)
Jump to: navigation, search


Binary

The system we usually use is decimal system, i.e. base 10, where we have 10 digits to describe any number (0,1,2,3,4,5,6,7,8,9). When keeping track of amounts larger than 9, multiple digits are necessary, where each digit represents a power of 10. For example, the number Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 1067} can be expanded to make this explicit:

Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 1067 = 1\cdot 10^3 + 0\cdot 10^2 + 6 \cdot 10^1 + 7\cdot 10^0}

Now consider a numbering system where each digit represents a power of 2.

Binary Conversion

Binary to Decimal

Decimal to Binary

Binary Addition

add stuff here

Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 0}



Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \begin{align} (\left\vert \psi \right\rangle)^* &= \left(\begin{array}{c} \alpha \\ \beta \end{array}\right)^* \\ &= \left(\begin{array}{c} \alpha^* \\ \beta^* \end{array}\right)\\ &=\alpha^* \left\vert 0\right\rangle + \beta^* \left\vert 1\right\rangle. \end{align}} (C.1)