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
I need help on 9 11 14 and 16
TEA [102]

Answer:

For 9 the answer is (4)

For 11  the answer is (5)

For 14 the answer is (4)

I cant see number 16 so maybe retake the photo thanks!

Step-by-step explanation:

9. squares have two sets of parallel lines

11. The only quadrilateral that has 3 different side lengths on this list is a trapezoid

14. It has no right angles meaning its not a square or rectangle. It has two sets of parallel sides meaning its not a trapezoid, and since it gives two different side lengths its not a rhombus since all sides muse be congruent to be a rhombus. The only one that matches is 4 a parallelogram

7 0
3 years ago
Solve the problem.
MA_775_DIABLO [31]
Circumference = 2πr

r = 9

Circumference = 2π(9)
Circumference = 18π
Circumference = 18(3.14)
Circumference = 56.52

Distance: 56.52 meters
8 0
3 years ago
Find the area of a regular decagon with a 12.3 in, apothem and 8 in. sides.
EleoNora [17]

Answer:

C

Step-by-step explanation:

The area (A) of a regular decagon is

A = \frac{1}{2} perimeter × apothem

perimeter = 10 × 8 = 80 in, thus

A = 0.5 × 80 × 12.3 = 492 in² → D

8 0
3 years ago
What is the answer to 4x-10x
3241004551 [841]

Answer: -6x

Step-by-step explanation:

5 0
3 years ago
Read 2 more answers
The linear function y = 1.2x represents Alberto’s speed, y, in meters per minute, when his stride rate is x steps per minute.
notsponge [240]
The slope is the rate in which he is moving and the y-intercept is where he started (at 0 seconds and 0 meters).
4 0
4 years ago
Read 2 more answers
Other questions:
  • Find the number of possible outcomes from choosing a number from 11 to 20 and a letter of the alphabet.
    9·1 answer
  • The two lines below interest as shown. What is the value of x ?
    9·1 answer
  • Tomic and Brooke make a game of shooting free throws. Each basket is worth 2.5 point.Each miss is worth - 0.75 points.Out of 30
    9·2 answers
  • One angle of an isosceles triangle measures 110°. Which other angles could be in that isosceles triangle? Choose all that apply.
    13·1 answer
  • How do I solve these problems?
    15·1 answer
  • Please help me asap
    8·1 answer
  • What is the solution to<br> 3×+7-8×+3&gt;0?
    11·2 answers
  • &lt; Salir
    10·1 answer
  • A person who is 5 feet tall is standing 108 feet from the base of a tree, and the tree casts a 120 foot shadow. The persons shad
    9·1 answer
  • The hotdog stand at a baseball game sells hotdogs for $3.50 each. The amount, D dollars, Mr. Moore paid for the hotdogs is direc
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!