0% found this document useful (0 votes)
8 views2 pages

Decimal to Binary, Octal, Hex Conversion

Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views2 pages

Decimal to Binary, Octal, Hex Conversion

Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Let's verify each part of this conversion to see if it is correct.

The given conversions are:

(37.375)10=(100101.011)2=(45.6)8=(25.6)16(37.375)_{10} = (100101.011)_2 = (45.6)_8 = (25.6)_{16}


(37.375)10=(100101.011)2=(45.6)8=(25.6)16

Let's examine each conversion step by step.

Step 1: Convert (37.375)10(37.375)_{10}(37.375)10 to Binary

1. Integer part (37):

o 37 in decimal to binary: 37÷2=18 remainder 137 \div 2 = 18 \text{ remainder }


137÷2=18 remainder 1 18÷2=9 remainder 018 \div 2 = 9 \text{ remainder }
018÷2=9 remainder 0 9÷2=4 remainder 19 \div 2 = 4 \text{ remainder }
19÷2=4 remainder 1 4÷2=2 remainder 04 \div 2 = 2 \text{ remainder }
04÷2=2 remainder 0 2÷2=1 remainder 02 \div 2 = 1 \text{ remainder }
02÷2=1 remainder 0 1÷2=0 remainder 11 \div 2 = 0 \text{ remainder }
11÷2=0 remainder 1

o So, 371037_{10}3710 in binary is 100101100101100101.

2. Fractional part (.375):

o Multiply .375 by 2: 0.375×2=0.75→00.375 \times 2 = 0.75 \rightarrow 00.375×2=0.75→0


0.75×2=1.5→10.75 \times 2 = 1.5 \rightarrow 10.75×2=1.5→1 0.5×2=1.0→10.5 \times 2
= 1.0 \rightarrow 10.5×2=1.0→1

o So, 0.375100.375_{10}0.37510 in binary is .011.011.011.

Combining both parts, we get:

(37.375)10=(100101.011)2(37.375)_{10} = (100101.011)_2(37.375)10=(100101.011)2

This part of the conversion is correct.

Step 2: Convert (37.375)10(37.375)_{10}(37.375)10 to Octal

1. Integer part (37):

o 37 in decimal to octal: 37÷8=4 remainder 537 \div 8 = 4 \text{ remainder }


537÷8=4 remainder 5 4÷8=0 remainder 44 \div 8 = 0 \text{ remainder }
44÷8=0 remainder 4

o So, 371037_{10}3710 in octal is 454545.

2. Fractional part (.375):

o Multiply .375 by 8: 0.375×8=3.00.375 \times 8 = 3.00.375×8=3.0


o So, 0.375100.375_{10}0.37510 in octal is .3.3.3.

Combining both parts, we get:

(37.375)10=(45.3)8(37.375)_{10} = (45.3)_8(37.375)10=(45.3)8

The conversion given as (45.6)8(45.6)_8(45.6)8 is incorrect; it should be (45.3)8(45.3)_8(45.3)8.

Step 3: Convert (37.375)10(37.375)_{10}(37.375)10 to Hexadecimal

1. Integer part (37):

o 37 in decimal to hexadecimal: 37÷16=2 remainder 537 \div 16 = 2 \text{ remainder }


537÷16=2 remainder 5

o So, 371037_{10}3710 in hexadecimal is 252525.

2. Fractional part (.375):

o Multiply .375 by 16: 0.375×16=6.00.375 \times 16 = 6.00.375×16=6.0

o So, 0.375100.375_{10}0.37510 in hexadecimal is .6.6.6.

Combining both parts, we get:

(37.375)10=(25.6)16(37.375)_{10} = (25.6)_{16}(37.375)10=(25.6)16

This part of the conversion is correct.

You might also like