heureka

avatar
Benutzernameheureka
Punkte26387
Membership
Stats
Fragen 17
Antworten 5678

 #3
avatar+26387 
+9

Convert to binary........

convert 3.141592 to base 2 with steps please, if possible.

Thank you for any help.

 

[pre-decimal point position]:

\(\begin{array}{|rcrcrr|} \hline && && & \text{Remainder} \\ \hline 3 &:& 2 &=& \color{blue}{1} & \color{red}{1} \\ \color{blue}{1} &:& 2 &=& 0 & \color{red}{1} \\ \hline \end{array}\)

 

decimals:

\(\begin{array}{|rcrcrr|} \hline && && & \text{Carry} \\ \hline 0.141592 &*& 2 &=& {\color{red}0}.283184 & \color{red}{0} \\ 0.283184 &*& 2 &=& {\color{red}0}.566368 & \color{red}{0} \\ 0.566368 &*& 2 &=& {\color{red}1}.132736 & \color{red}{1} \\ 0.132736 &*& 2 &=& {\color{red}0}.265472 & \color{red}{0} \\ 0.265472 &*& 2 &=& {\color{red}0}.530944 & \color{red}{0} \\ 0.530944 &*& 2 &=& {\color{red}1}.061888 & \color{red}{1} \\ 0.061888 &*& 2 &=& {\color{red}0}.123776 & \color{red}{0} \\ 0.123776 &*& 2 &=& {\color{red}0}.247552 & \color{red}{0} \\ 0.247552 &*& 2 &=& {\color{red}0}.495104 & \color{red}{0} \\ 0.495104 &*& 2 &=& {\color{red}0}.990208 & \color{red}{0} \\ 0.990208 &*& 2 &=& {\color{red}1}.980416 & \color{red}{1} \\ 0.980416 &*& 2 &=& {\color{red}1}.960832 & \color{red}{1} \\ 0.960832 &*& 2 &=& {\color{red}1}.921664 & \color{red}{1} \\ 0.921664 &*& 2 &=& {\color{red}1}.843328 & \color{red}{1} \\ 0.843328 &*& 2 &=& {\color{red}1}.686656 & \color{red}{1} \\ 0.686656 &*& 2 &=& {\color{red}1}.373312 & \color{red}{1} \\ 0.373312 &*& 2 &=& {\color{red}0}.746624 & \color{red}{0} \\ 0.746624 &*& 2 &=& {\color{red}1}.493248 & \color{red}{1} \\ 0.493248 &*& 2 &=& {\color{red}0}.986496 & \color{red}{0} \\ 0.986496 &*& 2 &=& {\color{red}1}.972992 & \color{red}{1} \\ \cdots \\ \hline \end{array}\)

 

\(3.141592_{10} = 11.00100100001111110101\ldots_2\)

 

laugh

07.04.2017
 #2
avatar+26387 
+8

Convert to binary........

convert 3.141592 to base 2 with steps please, if possible.

Thank you for any help.

 

[pre-decimal point position]:

\(\begin{array}{|rcrcrr|} \hline && && & \text{Remainder} \\ \hline 3 &:& 2 &=& 1 & \color{red}{1} \\ 1 &:& 2 &=& 0 & \color{red}{1} \\ \hline \end{array}\)

 

decimals:

\(\begin{array}{|rcrcrr|} \hline && && & \text{Carry} \\ \hline 0.141592 &*& 2 &=& {\color{red}0}.283184 & \color{red}{0} \\ 0.283184 &*& 2 &=& {\color{red}0}.566368 & \color{red}{0} \\ 0.566368 &*& 2 &=& {\color{red}1}.132736 & \color{red}{1} \\ 0.132736 &*& 2 &=& {\color{red}0}.265472 & \color{red}{0} \\ 0.265472 &*& 2 &=& {\color{red}0}.530944 & \color{red}{0} \\ 0.530944 &*& 2 &=& {\color{red}1}.061888 & \color{red}{1} \\ 0.061888 &*& 2 &=& {\color{red}0}.123776 & \color{red}{0} \\ 0.123776 &*& 2 &=& {\color{red}0}.247552 & \color{red}{0} \\ 0.247552 &*& 2 &=& {\color{red}0}.495104 & \color{red}{0} \\ 0.495104 &*& 2 &=& {\color{red}0}.990208 & \color{red}{0} \\ 0.990208 &*& 2 &=& {\color{red}1}.980416 & \color{red}{1} \\ 0.980416 &*& 2 &=& {\color{red}1}.960832 & \color{red}{1} \\ 0.960832 &*& 2 &=& {\color{red}1}.921664 & \color{red}{1} \\ 0.921664 &*& 2 &=& {\color{red}1}.843328 & \color{red}{1} \\ 0.843328 &*& 2 &=& {\color{red}1}.686656 & \color{red}{1} \\ 0.686656 &*& 2 &=& {\color{red}1}.373312 & \color{red}{1} \\ 0.373312 &*& 2 &=& {\color{red}0}.746624 & \color{red}{0} \\ 0.746624 &*& 2 &=& {\color{red}1}.493248 & \color{red}{1} \\ 0.493248 &*& 2 &=& {\color{red}0}.986496 & \color{red}{0} \\ 0.986496 &*& 2 &=& {\color{red}1}.972992 & \color{red}{1} \\ \cdots \\ \hline \end{array}\)

 

\(3.141592_{10} = 11.00100100001111110101\ldots_2\)

 

laugh

07.04.2017