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 the following to Octal, hexadecimal and binary (long method(multiply and Divide by methods)) a.1364.367(10) b.1568.246(10)...
Convert the following to Octal, hexadecimal and binary (long method(multiply and Divide by methods)) a.1364.367(10) b.1568.246(10) c.846.578(10) d.245.86(10) e.2647.95(10)
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 ______________.
Any integer can be represented in binary, octal, decimal, and hexadecimal. What are the limits on...
Any integer can be represented in binary, octal, decimal, and hexadecimal. What are the limits on representing integers using unary or only having the 1 digit?
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.
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
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 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)
Convert the following binary values to hexadecimal and decimal (1 pt each) Write Hex Numbers as...
Convert the following binary values to hexadecimal and decimal (1 pt each) Write Hex Numbers as 0x##(ex 0x0A, 0xFF) Binary Hexadecimal Decimal 0001-1011 0x 0000-1000 0000-0100 0000-1001 0001-1111 1001-1001 0111-1010 1100-0010 1110-0101 1000-1010 0011-0100 0001-1001 0100-0011 1111-1111 1110-0111 0001-0010 0100-1000 0100-1110 1001-0001 0110-1100 Name: Convert the following hexadecimal values to binary and decimal Write binary numbers as 0000-0000 Hexadecimal Binary Decimal 0xf1 0xac 0x56 0x6c 0x32 0x30 0x05 0x28 0xf0 0x07 0x42 0xb9 0x6d 0x2f 0x71 0x0e 0x2d 0xfb 0xba...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT