document.write( "Question 640832: convert 10101two to base ten \n" ); document.write( "
Algebra.Com's Answer #403438 by Alan3354(69443)\"\" \"About 
You can put this solution on YOUR website!
convert 10101two to base ten
\n" ); document.write( "----------------
\n" ); document.write( "To do these conversions \"in your head\",
\n" ); document.write( "Work from left to right:
\n" ); document.write( "The 1st bit is a 1
\n" ); document.write( "If the 2nd bit is 0, then double it = 2
\n" ); document.write( "The 3rd bit is 1, so double the 2, then add 1 = 5
\n" ); document.write( "4th is 0 --> 10
\n" ); document.write( "5th is 1, 10*2 + 1 --> 21
\n" ); document.write( "-----------------------------
\n" ); document.write( "
\n" );