You are on page 1of 8
ess tf kg tt ttn 8.4. CONVERSION OF BINARY NUMBER TO ITS DECIMAL EQUIVALENT We shall explain this conversion with the help of following examples. Example 1. Convert the following binary numbers into decimal form : () ZO1)y (i) (10011) “iHé)(111)._—Gv(410100).,_—_(v(2001101), eet (M.D.U. July 2008) Solution. (101), = 1x 22+ 0x 2!+1x 2° =44+04+155, Gi) © (10011), =1x 2440x294 0% 241% 2041 % 29 2 =164+0+0+2+1=19. © (11D, = 1x 2441 x 2941x2241 241% 2° =164+84+44+241=31. (110100), = 1x 2541 x 2440x 2941x2240 2'40x 2° =32+164+0+4+0+0=52. 264404048444U4 1500. INVERSION OF FRACTIONAL BINARY NUMBERS INTO DECIMAL NUMBERS Hore values assigned to the places on the right of the decimal are 2~!, 2-7, 2-4... ussiyned to the left of the decimal are 20, 21, 27... ete. Convert the following fractional binary numbers into decimal numbers: (ii) (0.011), 1) (1101-1101), (iv) (10001101-1101), [M.D.U, Jan. 2008, Jan. 05) {M.D.U. July 2! (0-101), = 1 x 2140x2%+1x 29 ution. (i) ered goetag ret = t4044=05+0+01%5 ggg a's (O01), = 0x24 1x 2-24 1x 2841x274 ” JON OF WINARY TO DECIMAL AND DE ‘CIMAL. TO. BINARY. my yet aw! 2004411. oo2n sor 4 0.0625 = 0.4275, 4° 8" 16 iN GIONOD, = 1% 41x 2 EO MeL x P41 x14] 22 40nd Ly Os ; 5 TBA OLY FTO 2134054025 + 0.0005~ 128125, i {OOOO = 12740 x Ox PEO 1 Ba Ly ate gy gl +1xQ9e1 x2 sing AsO r 2% 4179-4 1 = 1284040404 B4+44+0414 Lt ygyd 24 16 tiv) = 14140-5 +025 40.0625 = 141.8125, 6, CONVERSION OF DECIMAL NUMBER TOITS, BINARY EQUIVALENT Neshall explain the method with the help of example given below : A Example 3. Conners tho an Example 4, Changesets . nge the 7 7 i) 9 following decimal numbers into binary numerals. @) 14 ™ (iii) 128 Solution, (i) [rye rare e g 8 3 e a [pops 7 9 = (2001), Check. (1001), = 1 x 29+ 0x 22+0x2+1x2=8+04+041=9. (ii) 14 Remainders 7 r=0 2° place 3 r=1 2" place 1 0 [BO] 9] 89 | 9 r=1 2? place r=1 2° place 14 =(1110)p. (1110), = 1x 2941x224 1x 21+0%29= 8444240514 128 Remainders 64 r=0 2° place 2 2 2| 32 r=0 2! place 2| 16 r=0 2? place 2| 8 r=0 2° place 24 r=0 2° place 2{ 2 r=0 2° place 2{ 1 r=0 2° place 0 r=1 27 place 128 =(10000000),. inti ar ena nrinsial REFIMAT INTO BINARY EQUIV! ALENT eesee 1S =(LUULUUUU)y, FRACTIONAL DECIMALS INTO BINARY EQUIVALENT umber has a fractional part, then also we can convert it into binary fo ively multiply the fractional part by 2 until we reach at stage whe mes zero. The following examples will illustrate this method. Decimal Fraction Product Binary 0-125 x 2 0-250 0 0-250 x 2 . +0500 0 0-500 x 2 1.000 1 ki be | @ 217-8125 E | Solution. . (0.135) Example 6. Convert ,, @ Conversio [e]ryeo [8] 89] 29] 89) 09 io =(0-001), 59.36 'M.D.U, Jan.2008, 05) ” Of integral part : 217 Remainder [203 = 2° place 2! place 27 2 2? place 13 2 2 2° place 2 2* place 3 2° place : 2° place 27 place HlofufHfolo os 217 = (11011001), version of fractional part: Decimal part Product 8125 x2 16250 6250 x 2 1.2500 +2500 x 2 05000 -5000 x 2 10000 (8125), = (1101), (217-8125), =(11011001-1101),, mversion of integral part: 2|59 Remainder 2 [29 1 2” place 2|14 1 2 place ila 0 2? place aha 1 23 place sta plince TT place 59 =(111011), following into binary form + , ce neae ne ee ie jnultipliention afigt tea Part of product has bec! (ii) 281.231 Binary roe (p.w. July 2009) 2x2 Si 5. ince -04 is minimum fractional part of all the products, multiplication at this stage. Product 072 1447~ 0.88" 176 \ q vy 1 (0:36)9 =(-010111), Thus, (59:36), = (11101-01011 1). . Gii) Conversion of integral part: ; 2|231 Remainder 2/115 1 2° place 2] 57 1 2 place 2/28 1 2” place a) 0 ~~ 2 place 217 0 2 place 2| 3 1 2° place ala 1 2° place To 1 2" place 231 = (11100111), on of fractional part: Decimal part Product 231 x2 0-462 0.924 1.848 1.698 1.392 0-784 1568 1-136 0-272 0544 1.088 0 1 1 1 so we terminate the Binary HOOF H OHHH O \ | Jee is minimum fractional part of all the products, so we terminate the nce 088 18, int ion at this stage. ayotinli (-231)j9 = (00111011001), i (231-231)y9 = (11100111-00111011001),.. THe actional part docs not reduces to zero afterapplying many multiplications and infact it starts sous the rie then generally we terminate the multiplication after obtatning the mace value of Sete persis nal part. acti i EXERCISE 8.1 ess each of the following numerals as 2 sum of powers of 2: rr ty any @) G10n, (© (10101), (@) IND, () (10111), «+. change the following binary numbers to decimal numbers : vo) (Ds @) aon, © (1101), id) 11010 {e) (100001), 011100, ¢h) (10100110111), P (11011101), [M.D.U. July 2004, Jan. 04} @ (0011.01, MD.U. Jan. 2006) UM.D.U. July 2006} (W.D.U. July 2008, Jan. 07) following decimal numbers to binary numbers : (6) 25 () 18 fe) 108 (P 76-25 [M.D.U. Jan. 20071 (h) 74-125 @ 5636 [M.D.U. July 2006} () 213-75 (M.D.U. Jan, 2006) I. July 2008} ANSWERS (b) 1x23 41% 2240x2141 20 (d) 1x23 41x 241x241 x20 13 © 29 33 (M 221 41-71875 @ 51-375 (11001), {e) (10010), (1101100), (M (200110000, (1001010-001), (@® (111000-010111), 1010101.1),

You might also like