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 ______________.
1. Convert to binary and hexadecimal (PLEASE SHOW WORK) a. 35 - binary: - hexadecimal: b....
1. Convert to binary and hexadecimal (PLEASE SHOW WORK) a. 35 - binary: - hexadecimal: b. 85 - binary: - hexadecimal: c. 128 - binary: - hexadecimal: d. 4563 - binary: - 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.
SUBJECT: CYBER ESSENTIALS Convert between binary and hexadecimal values Question 7: Convert binary number to a...
SUBJECT: CYBER ESSENTIALS Convert between binary and hexadecimal values Question 7: Convert binary number to a hexadecimal number Binary number: 00001100 Hexadecimal value: ?? Question 8: Convert binary number to a hexadecimal number Binary number: 01001111 Hexadecimal value: ?? Question 9: Convert binary number to a hexadecimal number Binary number: 10101101 Hexadecimal value: ?? Question 10: Convert hexadecimal number to an 8 bit binary number Hexadecimal number: AB 8 bit binary number: Question 11: Convert hexadecimal number to an 8...
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...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT