1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Arte-miy333 [17]
3 years ago
15

You are given a 16-bit binary integer X= (1110 0100 0111 1010)2 . Convert X to decimal if:

Mathematics
1 answer:
podryga [215]3 years ago
7 0

Step-by-step explanation:

a). The decimal numbers is equal to the sum of binary numbers $(b_n)$  times their powers of   $ 2(2^n) .$

That is,

$ b_n \times 2^n + b_{n-1} 2^{n-1}+ ..... + b_02^0 $

$\therefore (1110 \ \ 0100 \ \ 0111 \ \ 1010)_2 $

=  $ (0 \times 2^0) + (1 \times 2^1) + (0 \times 2^2) + (1 \times 2^3) + (1 \times 2^4) + (1 \times 2^5) + (1 \times 2^6)  + ( 0 \times 2^7) + (0 \times 2^8) + (0 \times 2^9) + (1 \times 2^{10} ) $$  + (0 \times 2^{11}) + (0 \times 2^{12}) + (1 \times 2^{13}) + (1 \times 2^{14})+ (1 \times 2^{15})$

= 58490

b).

The left most bit of the number represents the sign of the number. If bit = 1, the number is negative else if the bit is 0, the number is positive.

All the remaining bits (i.e all the bits except the leftmost bit) represent the magnitude of the number.

  Now, X = 1110 0100 0111 1010

  left most bit = 1 => number is negative

  remaining bits Y = 110 0100 0111 1010

  converting Y to decimal => Y = 25722

c).

Check the leftmost bit(lmb) of the number

if leftmost bit is 0 => convert do the binary to decimal conversion

if leftmost bit is 1, follow the following steps

  1. Flip the bits (convert the 0's into 1's and the vice versa)

  2. convert the new number from binary to decimal.

  3. Add a negative sign / multiply by -1

 Now, X = 1110 0100 0111 1010

left most bit = 1;

flipping the bits => Y = 0001 1011 1000 0101

converting Y into decimal => Y = 7045

multiplying Y with -1 => Y = -7045

Therefore, one's complement of X to decimal is -7045

Thus, X = -25722 in decimal.

d).

Check the leftmost bit(lmb) of the number

  if leftmost bit is 0 => convert do the binary to decimal conversion

  if leftmost bit is 1, follow the following steps

  1. Flip the bits (convert the 0's into 1's and the vice versa)

  2. convert the new number from binary to decimal.

  3. Add 1 to the converted number

  4. Add a negative sign / multiply by -1

Now, X = 1110 0100 0111 1010

left most bit = 1;

flipping the bits => Y = 0001 1011 1000 0101

converting Y into decimal => Y = 7045

Adding 1 to Y => Y = 7046

multiplying Y with -1 => Y = -7046

Thus, two's complement of X to decimal is -7046

You might be interested in
Cathy cut 2 apples into 6 slices each she ate 9 slices which expresion matches the words
iogann1982 [59]
The expression to go with the words is 2x6-9 

3 0
4 years ago
Read 2 more answers
Use the diagram shown to find the height of the house. Round to the nearest hundredth.
elixir [45]

Answer:

46- 0

Step-by-step explanation:

30+16=46

46 is closer to 0 then it is 100

so 0 is the answer

5 0
3 years ago
Read 2 more answers
Math amirite Math amirite Math amirite Math amirite Math amirite Math amirite Math amirite Math amirite Math amirite Math amirit
Ivahew [28]

Answer:

math amirite is amirite

Step-by-step explanation:

math amirite

6 0
3 years ago
How would you write in standard form 8 thousands+1200 hundreds
Alex_Xolod [135]
It is basically 8 thousand plus one thousand two hundred so your answer would be 9200
4 0
3 years ago
HELP. It’s LOG form. Since were out of school I forgot how I did this and it’s due so it would be a life saver.
____ [38]

Answer:

see below

Step-by-step explanation:

exponent to log: a^b = c ---> logₐc = b

ie. question 6

log ₁₀(3x+1) = 2 -----> 10^{2} = 3x+1

that will get you through questions 1 to 3, 5 to 6, and 8

in question 4, all you have to do is know that 2^2 = 4 and 2^3 = 8, by setting the bases equal, you can manipulate the exponents to get 2x+8 = 3x-3

for questions 7 and 9,

remember that:

logₐc + logₐd = logₐ(cd)

logₐc - logₐd = logₐ(\frac{c}{d})

remember change of base is log_{a} b = \frac{log_xb}{log_xa}, this will be useful if you need your calculator since calculators only have base 10 and maybe if your calculator is good enough natural base e

4 0
4 years ago
Other questions:
  • Find a whole number between 9 4/9 and the square root of 144
    11·1 answer
  • The sum of four consecutive numbers is -26. what are the numbers?
    13·1 answer
  • 7.97 as a mixed fraction and a improper fraction
    11·1 answer
  • Calaveras county in California imposes a 7.25% sales tax on goods purchased in that county. How much tax is imposed on a $56.96
    5·1 answer
  • Gail has $5,500 in credit card debt
    7·2 answers
  • Tiana looks at a map to find the best route from her house to her friend's house. the map has a scale of 4 centimeters = 3 miles
    9·1 answer
  • For which set of values is y a function of x? x у <br> -1 6<br> 0 8<br> 1 1 10<br> 2 12 ​
    15·1 answer
  • HELP ASAP ! <br><br> Identify the vertex of the graph. Tell whether it is a minimum or maximum.
    12·2 answers
  • Math people plz answer the following ill give brainlest!!!
    12·2 answers
  • Which of the following is equal to
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!