Question

In: Computer Science

Convert the following to Octal, hexadecimal and binary (long method (multiply and Divide by methods)) 2647.95...

Convert the following to Octal, hexadecimal and binary (long method (multiply and Divide by methods))

2647.95 (10)

Solutions

Expert Solution

Given decimal number: 2647.95

Decimal to Octal:

converting integer part to octal

Result Remainder
8 2647
8 330 7
8 41 2
8 5 1
8 0 5

(2647)10 = (5127)8

converting fractional part to octal

product product integer part
8 0.95 8*0.95 = 7.6 7
8 0.6 8*0.6 = 4.8 4
8 0.8 8*0.8 = 6.4 6
8 0.4 8*0.4 = 3.2 3
8 0.2 8*0.2 = 1.6 1
8 0.6 8*0.6 = 4.8 4
8 0.8 8*0.8 = 6.4 6
8 0.4 8*0.4 = 3.2 3
8 0.2 8*0.2 = 1.6 1

the same will repeat endless

(0.95)10 = (0.7463146314631463)8

so (2647.95)10 = (5127.74631463146314631463)8

Decimal to Hexadecimal:

converting integer part to hexadecimal

Result Remainder Remainder in hex
16 2647
16 165 7 7
16 10 5 5
0 10 A

(2647)10 = (A57)16

converting fractional part to hexadecimal

product product integer part hex number
16 0.95 16*0.95 = 15.2 15 F
16 0.2 16*0.2 = 3.2 3 3
16 0.2 16*0.2 = 3.2 3 3
16 0.2 16*0.2 = 3.2 3 3

the same will repeat endless

(0.95)10 = (0.F333333)16

so (2647.95)10 = (A57.F3333333333)16

Decimal to Binary:

converting integer part to binary

Result Remainder
2 2647
2 1323 1
2 661 1
2 330 1
2 165 0
2 82 1
2 41 0
2 20 1
2 10 0
2 5 0
2 2 1
2 1 0

(2647)10 = (101001010111)2

convert fractional part to binary:

product product integer part
2 0.95 2*0.95 = 1.9 1
2 0.9 2*0.9 = 1.8 1
2 0.8 2*0.8 = 1.6 1
2 0.6 2*0.6 = 1.2 1
2 0.2 2*0.2 = 0.4 0
2 0.4 2*0.4 = 0.8 0
2 0.8 2*0.8 = 1.6 1
2 0.6 2*0.6 = 1.2 1
2 0.2 2*0.2 = 0.4 0
2 0.4 2*0.4 = 0.8 0
2 0.8 2*0.8 = 1.6 1
2 0.6 2*0.6 = 1.2 1

the same will repeat endless

(0.95)10 = (0.111100110011)2

so (2647.95)10 = (101001010111.111100110011)2


Related Solutions

Convert 110.7510 to binary ______ and hexadecimal ______. Show the answer in both binary and hexadecimal....
Convert 110.7510 to binary ______ and hexadecimal ______. Show the answer in both binary and hexadecimal. There are ____________ kilobytes in a megabyte. Convert -13210 to a 16-bit 2’s complement in binary ____________ and hexadecimal ______________.
What is (567.12) octal in binary. What is(5CF.AD) hexadecimal in binary. Please show work so I...
What is (567.12) octal in binary. What is(5CF.AD) hexadecimal in binary. Please show work so I can understand how to solve thanks.
1) What are the hexadecimal, and octal equivalents for the unsigned binary value 0111 0000 1101?...
1) What are the hexadecimal, and octal equivalents for the unsigned binary value 0111 0000 1101? (note the spaces in the binary are for readability (like a comma in a decimal value; there is only a single 12 bit binary value) PLEASE EXPLAIN IT IN DETAIL
Convert the following decimal number into (a) binary and (b) Octal (SHOW ALL STEPS) 205.75
Convert the following decimal number into (a) binary and (b) Octal (SHOW ALL STEPS) 205.75
Convert binary to the following 100110101.1011101101)2 a.) Octal ( )8 b.) Hexa  ( )16 steps would be...
Convert binary to the following 100110101.1011101101)2 a.) Octal ( )8 b.) Hexa  ( )16 steps would be helpful thanks
Design a transducer to convert a binary string into octal. For example the bit string 001101110...
Design a transducer to convert a binary string into octal. For example the bit string 001101110 should produce 156. Please complete the code to account for the 7 cases of 3 digit binary strings. //Function binaryToOctal takes a char array digits of length 3 //Pre: digits contains 3 binary digits. //Post: function returns the octal number equivalent to the 3 binary digits int binaryToOctal( char digits[], int 3){ int number; if(digits[0]=='0') if (digits[1]=='1') if (digits[2]=='0') return 2;//found "010" else return...
With a detailed step-by-step process, convert the following decimal number into binary, Hexadecimal and IEEE 754...
With a detailed step-by-step process, convert the following decimal number into binary, Hexadecimal and IEEE 754 formats : 72.nn ( where nn is 80)
A) Convert the binary (0100011011) to Hex and multiply it by A8H B) Subtract (0011101111010010) your...
A) Convert the binary (0100011011) to Hex and multiply it by A8H B) Subtract (0011101111010010) your answer in A)
Convert the following numbers to 32-bit, 2s compliment binary and hexadecimal formats. Show your work in...
Convert the following numbers to 32-bit, 2s compliment binary and hexadecimal formats. Show your work in recursive division form. 899726616 1656906428 -77102817 -251026154
Design a Decoder Circuit that can convert a 4-bit Binary Number to a Hexadecimal Output.
Design a Decoder Circuit that can convert a 4-bit Binary Number to a Hexadecimal Output.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT