Computer Science, asked by princemalhotra8079, 8 months ago

Convert (423.03125)10 to octal form.

Answers

Answered by qwchair
0

Octal Form = 647.02

->   Before decimal:

     423 = 8*52 + 7           => 7

     52 = 8*6 + 4               => 4

     6 = 8*0 + 6                 => 6

    => 647

->   After decimal:

     .03125*8 = 0.25              => 0

     .25*8 = 2.0                      => 2

     0.0*8 = 0

     => .02

->   Octal Form = 647.02

Answered by poojan
0

Decimal to Octal Conversion.

Conversion of the given decimal value to the octal:

The digits 0, 1, 2, 3, 4, 5, 6 and 7 are known as octal numbers generally represented by base-8 notation. So, your answer contains only these digits.

Dealing with the integral part:

By using the MOD-8 operation, we can change this part to octal. The process is as follows :

 8 | 423 |    

 8 |  52  | 7

 8 |   6   | 4

 8 |   0   | 6

Arranging the remainders from bottom to top, gives the octal version of integral part of the decimal.

So, (423)₁₀ = (647)₈

Dealing with the fractional part:

All you need to do is, to keep on multiplying the decimal part with 8 and take the integral part of each iteration's result. If the fractional part completely turns to integer during this process, end the multiplication there. Else, take the integrals of 5 complete iterations to get approx value.

    Decimal Number     |       Multiplication       |      Integral part      

          0.13125               |    8 * 0.13125 = 0.25    |             0                  

             0.25                 |      8 * 0.25 = 2.0         |              2                  

As there is no fractional part left, the process ends here.

Now, concatenate the Integral parts taken here, from top to bottom. It results the octal version of the fractional part of the given decimal.

(.03125)₁₀ = (.02)₈

To acquire the complete octal for the given decimal, combine the integral and fractional parts resulted.

ie., (647)₁₀ + (.02)₁₀ = (647.02)₁₀

Therefore, Octal value of the decimal (423.03125)₁₀ is (647.02)₈

   

Learn more :

  • About the base of Octal Number.

        https://brainly.in/question/641118

  • Hexadecimal to Octal conversion.

        https://brainly.in/question/9827637

Hope it helped... Cheers!

Similar questions