Question

In: Computer Science

I have a decimal fraction: 76.234567x10^-14 I need to convert this number to binary. I know...

I have a decimal fraction: 76.234567x10^-14

I need to convert this number to binary. I know you can multiply the number by 2 constantly to get the binary number, but that will take forever to do, even converting it to hex with x16 takes a long time, is there any easier way to convert this?

Show all steps and work please.

Solutions

Expert Solution

There is not any other way. You gotta do it manually. Once you have the binary, change 4 bits to equivalent hex which will reduce a little work.

  • To binary

76.234567x10^-14 = 0.00000000000076234567

1 : 0.0 * 2 = 0.0
2 : 0.0 * 2 = 0.0
3 : 0.0 * 2 = 0.0
4 : 0.0 * 2 = 0.0
5 : 0.0 * 2 = 0.0
6 : 0.0 * 2 = 0.0
7 : 0.0 * 2 = 0.0
8 : 0.0 * 2 = 0.0
9 : 0.0 * 2 = 0.0
10 :     0.0 * 2 = 0.0
11 :     0.0 * 2 = 0.0
12 :     0.0 * 2 = 0.0
13 :     0.0 * 2 = 0.0
14 :     0.0 * 2 = 0.0
15 :     0.0 * 2 = 0.0
16 :     0.0 * 2 = 0.0
17 :     0.0 * 2 = 0.0
18 :     0.0 * 2 = 0.0
19 :     0.0 * 2 = 0.0
20 :     0.0 * 2 = 0.0
21 :     0.0 * 2 = 0.0
22 :     0.0 * 2 = 0.0
23 :     0.0 * 2 = 0.0
24 :     0.0 * 2 = 0.0
25 :     0.0 * 2 = 0.0
26 :     0.0 * 2 = 0.0
27 :     0.0 * 2 = 0.0
28 :     0.0 * 2 = 0.0
29 :     0.0 * 2 = 0.0
30 :     0.0 * 2 = 0.0
31 :     0.0 * 2 = 0.0
32 :     0.0 * 2 = 0.0
33 :     0.0 * 2 = 0.01
34 :     0.01 * 2 = 0.01
35 :     0.01 * 2 = 0.03
36 :     0.03 * 2 = 0.05
37 :     0.05 * 2 = 0.1
38 :     0.1 * 2 = 0.21
39 :     0.21 * 2 = 0.42
40 :     0.42 * 2 = 0.84
41 :     0.84 * 2 = 1.68
42 :     0.68 * 2 = 1.35
43 :     0.35 * 2 = 0.71
44 :     0.71 * 2 = 1.41
45 :     0.41 * 2 = 0.82
46 :     0.82 * 2 = 1.65
47 :     0.65 * 2 = 1.29
48 :     0.29 * 2 = 0.58
49 :     0.58 * 2 = 1.16
50 :     0.16 * 2 = 0.32
51 :     0.32 * 2 = 0.65
52 :     0.65 * 2 = 1.3
53 :     0.3 * 2 = 0.6
54 :     0.6 * 2 = 1.2
55 :     0.2 * 2 = 0.4
56 :     0.4 * 2 = 0.79
57 :     0.79 * 2 = 1.59
58 :     0.59 * 2 = 1.18
59 :     0.18 * 2 = 0.36
60 :     0.36 * 2 = 0.72
61 :     0.72 * 2 = 1.43
62 :     0.43 * 2 = 0.87
63 :     0.87 * 2 = 1.74
64 :     0.74 * 2 = 1.47
65 :     0.47 * 2 = 0.94
66 :     0.94 * 2 = 1.88
67 :     0.88 * 2 = 1.76
68 :     0.76 * 2 = 1.52
69 :     0.52 * 2 = 1.05
70 :     0.05 * 2 = 0.09
71 :     0.09 * 2 = 0.18
72 :     0.18 * 2 = 0.37
73 :     0.37 * 2 = 0.74
74 :     0.74 * 2 = 1.48
75 :     0.48 * 2 = 0.95
76 :     0.95 * 2 = 1.9
77 :     0.9 * 2 = 1.8
78 :     0.8 * 2 = 1.6
79 :     0.6 * 2 = 1.21
80 :     0.21 * 2 = 0.41
81 :     0.41 * 2 = 0.83
82 :     0.83 * 2 = 1.65
83 :     0.65 * 2 = 1.31
84 :     0.31 * 2 = 0.62
85 :     0.62 * 2 = 1.23
86 :     0.23 * 2 = 0.47
87 :     0.47 * 2 = 0.94
88 :     0.94 * 2 = 1.88
89 :     0.88 * 2 = 1.75
90 :     0.75 * 2 = 1.5
91 :     0.5 * 2 = 1.0
Answer: 0. 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 1101 0110 1001 0100 1100 1011 0111 1000 0101 1110 0110 1001 111

  • To Hex: Once you have the binary, change 4 bits to equivalent hex

0.0000 0000 00D6 94CB 785E 69E

--------------------------------------
Hit the thumbs up if you are fine with the answer. Happy Learning!


Related Solutions

convert fraction decimal number 14/13 to acorrectly rounded binary number with 8 digits.
convert fraction decimal number 14/13 to acorrectly rounded binary number with 8 digits.
i need to convert decimal to twos complement binary and then add the binary digits but...
i need to convert decimal to twos complement binary and then add the binary digits but I am unable to do it. I am only allowed to use string, can anyone help me out please. i need the code urgently. #include #include #include #include using namespace std; string reverse(string s) { string x = ""; for (long i = s.length() - 1; i >= 0; i--) { x += s[i]; } return x; } string twosComplementStringsAddition(string A, string B) {...
Convert the decimal number, 315.56 into binary form?
Convert the decimal number, 315.56 into binary form?
Problem: Convert the following binary number to decimal. 1. 110101.101 Problem: Convert the following decimal number...
Problem: Convert the following binary number to decimal. 1. 110101.101 Problem: Convert the following decimal number to fractional binary representation. 1. 103.5625
Convert signed integer 0xACE9 to binary and decimal. Convert unsigned integer0xACE9 to binary and decimal.
Convert signed integer 0xACE9 to binary and decimal. Convert unsigned integer0xACE9 to binary and decimal.
Convert the following binary number to dotted decimal format. 11000000100110010000100101011001
Convert the following binary number to dotted decimal format. 11000000100110010000100101011001
Code in C-language programming description about convert binary number to decimal number.
Code in C-language programming description about convert binary number to decimal number.
1. Use long division to convert decimal fraction into a binary expansion. 3/5 2. Find the...
1. Use long division to convert decimal fraction into a binary expansion. 3/5 2. Find the decimal equivalent for the following binary numbers. 1101.11102 3. Use long division to convert decimal fraction into a binary expansion. 3/4 4. Find the binary equivalent the following decimal numbers. 14. 25390625 1 5. Find the decimal equivalent for the following binary numbers. 0.110001102 6. Exactly how many bytes are in the following? 60MB
Q1. a. Illustrate mathematically how to convert the following Binary number into Decimal Number system. 101112...
Q1. a. Illustrate mathematically how to convert the following Binary number into Decimal Number system. 101112 = ?10 (11.10)2= ?10 (100011.011)2 = ?10 ______________________________ b. Illustrate mathematically how to convert following decimal number into binary Number system. (345)10 = ?2 (45.25)10 = ?2 ______________________________ c. Illustrate mathematically how to convert the following Octal number into Decimal Number system. 278 = ?10 308 = ?10 ______________________________ d. Illustrate mathematically how to convert the following Hexadecimal number into Decimal Number system. (2F)16...
1) Convert negative fractional decimal number to 8-bit binary number: – 16.625 (use 2's complement binary...
1) Convert negative fractional decimal number to 8-bit binary number: – 16.625 (use 2's complement binary format) Hint: –17 + 0.375 Given the hint above, the fractional number will be divided into two parts, - Whole number, - Fractional part, must be positive (2) Proof to check that your calculation above is correct
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT