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
-2x+3y=-12 2x+y=4 After adding the two equations to eliminate x you are left with 4y=-8 solve for y
natita [175]

-2x+3y=-12 2x+y=4

add together

4y = -8

divide by 4

y = -2


3 0
3 years ago
Read 2 more answers
Convert point-slope form to slope-intercept form using the points (3,2) and (4,-2)
In-s [12.5K]

Answer: y=-4x+14

Step-by-step explanation:

The slope (Mx)=-4

And b=14

8 0
2 years ago
Read 2 more answers
Someone has 240$ for a road trip this is 2/5of the coast of the trip how much dose the trip coat
Artyom0805 [142]

Answer:

$600

Step-by-step explanation:

Divide 240 by 2/5

3 0
2 years ago
Porter's bird feeder holds 1/2 of a cup of birdseed. Porter is filling the bird feeder with a scoop that holds 1/10 of a cup. Ho
Arlecino [84]

Answer:

5 scoops

Step-by-step explanation:

If the feeder already has 1/2 cups in it, Porter will need to put 5 scoops in because 5/10= 1/2. 5 is half of ten

Hope this helps!

3 0
2 years ago
I need help ASAP! I will give your answer the brainiest answer
Korvikt [17]

This graph will start at (.5, 0) as the vertex.

To find this, all you need to do if find the point where inside the absolute value sign is equal to 0. Since the graph can never have a negative value, this will be the lowest point.

2x - 1 = 0

2x = 1

x = .5

From there, you can plot each point by going up two and to the left one.

Examples of Points: (1.5, 2) and (2.5, 4)

You can also plot the other side of the graph by going up two and to the right one.

These points can be found using the slope, which is the number attached to x (2).

Example of Points (-.5, 2) and (-1.5, 4).


8 0
3 years ago
Other questions:
  • The price of a jeans was reduced $6 per week for 7 weeks. By how much did the price of the jeans change over the 7 weeks?
    12·2 answers
  • Factor completely 3x3 − 21x2 − 27x
    15·1 answer
  • The graph of a system of equations will intersect at more than 1 point
    8·2 answers
  • Is the slope of the linear positive, negative,zero, or undefined<br> y=-x+5
    6·1 answer
  • F(x) = 2x + 6, and g(x) = x2 + 6, find (g ○ f)(1)
    6·2 answers
  • The problem C(x)=25x+50 represents the labor coat in dollars for quick cedar to build a deck where x is the number of hours of l
    8·1 answer
  • Y = -4x – 5<br> y = 3.x – 2<br> Is (3, 7) a solution of the system?
    5·1 answer
  • Brian, Pip and Sara share some sweets in the ratio 4:5:1. Brian gets 42 more sweets than Sara.
    13·1 answer
  • I GIVE BRAINLIEST FOR EXPLANATION AND CORRECT ANSWER EXTRA POINTS
    11·1 answer
  • Paul is making turkey that are 1/4 pound each. He has 2.93 pounds of turkey.
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!