Talk About Network

Google





Education > Math > decimal to bina...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 4126 of 4365
Post > Topic >>

decimal to binary conversion

by brendanmenezes <brendanmenezes@[EMAIL PROTECTED] > Jun 23, 2008 at 05:41 PM

dear sir im trying to do the theory of decimal to binary conversion
based on the fact that a decimal number may be represented by:
d= a n *  2 ^n + a n-1 * 2 ^n-1 + ....a 1 *  2 ^1 + a 0 *  2 ^0( note
a n is a with a subscript 1)

if we divide  d by 2  we get

d / 2= a n  * 2 ^n-1 + a n-1  * 2 ^n-2 + .....+a 1 * 2 ^0


i am attempting to put values into the variables
6 = a 1 * 2 ^1 + a 0 * 2 ^0   where n=1
   = 3 1 * 2 ^1 + a 0 * 2 ^0 (note 3 1 is not the number 31 but 3 with
a subscript 1)
6 =6+ a 0  2 ^0............................................this is my
doubt is the a0 2 ^0 correct here what value should a 0
have is it 3??or is it equal to 1

6/2= a n * 2 ^n-1 + a n-1* 2 ^n-2+ a 1*  2 ^0
     =3 1 * 2  ^n-1  where n=1
  3 =3 1 * 2  ^0

i.e   a 1 2 ^0

 the above theory is for the following type of problem
eg convert the decimal number 19 to binary
19/2           remainder
9/2             1
4/2             1
2/2             0
2/2             0
0                0
 




 3 Posts in Topic:
decimal to binary conversion
brendanmenezes <brenda  2008-06-23 17:41:25 
Re: decimal to binary conversion
Frederick Williams <fr  2008-06-24 15:23:54 
Re: decimal to binary conversion
Barry Schwarz <schwarz  2008-06-24 21:52:12 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Wed Jan 7 19:30:31 PST 2009.