CM 5.3 Number Systems MrG 2011.1212

4186 days ago by calcpage123

#convert to base 10 0o46 
       
\newcommand{\Bold}[1]{\mathbf{#1}}38
\newcommand{\Bold}[1]{\mathbf{#1}}38
0x1D2 
       
\newcommand{\Bold}[1]{\mathbf{#1}}466
\newcommand{\Bold}[1]{\mathbf{#1}}466
0b1100 
       
\newcommand{\Bold}[1]{\mathbf{#1}}12
\newcommand{\Bold}[1]{\mathbf{#1}}12
#convert from base 10 oct(38) 
       
\newcommand{\Bold}[1]{\mathbf{#1}}46
\newcommand{\Bold}[1]{\mathbf{#1}}46
hex(466) 
       
\newcommand{\Bold}[1]{\mathbf{#1}}\verb|1d2|
\newcommand{\Bold}[1]{\mathbf{#1}}\verb|1d2|
bin(466) 
       
\newcommand{\Bold}[1]{\mathbf{#1}}\verb|0b111010010|
\newcommand{\Bold}[1]{\mathbf{#1}}\verb|0b111010010|
#convert to base 10 int('46') 
       
\newcommand{\Bold}[1]{\mathbf{#1}}46
\newcommand{\Bold}[1]{\mathbf{#1}}46
int('46',8) 
       
\newcommand{\Bold}[1]{\mathbf{#1}}38
\newcommand{\Bold}[1]{\mathbf{#1}}38
int('1D2',16) 
       
\newcommand{\Bold}[1]{\mathbf{#1}}466
\newcommand{\Bold}[1]{\mathbf{#1}}466