Math, asked by ssusovanjana, 6 months ago

The value of two binary variables

A

and

B

are 1101.011 and 11.10 respectively, then

determine the value of

A− B .​

Answers

Answered by seelampujitha
1

Answer:

The answer is 1089.911

Answered by pulakmath007
11

\displaystyle\huge\red{\underline{\underline{Solution}}}

GIVEN

The value of two binary variables A and B

are 1101.011 and 11.10 respectively

TO DETERMINE

 \sf{ \:  \:  \:  \:  \:  \:  \:  \:  \:  \: A - B}

PROCESS

BINARY SUBSTRACTION

Binary subtraction and decimal subtraction are almost similar.

The main difference is that when 1 is subtracted from 0 we have to borrow 1 from the next higher order bit and that bit is reduced by 1 (or 1 is added to the next bit of subtrahend) and the remainder is 1

POINTS TO REMEMBER

In case of Binary Subtraction we need to keep it in mind that

 \sf{ \:  \:  \:  \:  \: 0 - 0 = 0 \: }

 \sf{ \:  \:  \:  \:  \: 1 - 0 = 1 \: }

 \sf{ \:  \:  \:  \:  \: 1 - 1 = 0 \: }

 \sf{ \:  \:  \:  \:  \: 0 - 1 = 1\: } \: ( \: having \:  \: 1 \: as \: borrow \: )

CALCULATION

 \sf{ Borrow \:   \: \: \:  \:  \:  \:  \:   \:   \:  \:  \:  \:  \:  \:  \: \: \: 1 \:  \: \:   \: 1 \:  \:  \:  }

 \sf{A  \:  \:  \:   \:  \:  \:  \: \:  \:   \:   \:  \:  \:  \: \:  \:  \:  \:  \:  \:  \:  \:  \:  \: \: 1101.011 \:  \:  \:  \:  \:}

 \sf{B \:  \:  \:  \:  \:   \:  \:  \:  \:  \:   \:  \:  \:  \:  \:  \:  \:  \:  \:  \: \:  \:  \:  \: \: 0011.100 \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \: }

━━━━━━━━━━━━━━━━━━━━━━━

 \sf{A-B\:  \:  \:  \:  \:   \:   \:  \:  \:  \: \:  \:  \:  \:  \:   \: \: 1001.111 \:  \:  \:  \:  \:}

RESULT

 \boxed{ \sf{ \:  \:  \: A-B\:  \: =     \: \: 1001.111 \: \:  \:}}

━━━━━━━━━━━━━━━━

LEARN MORE FROM BRAINLY

What is the equivalent 2s complement representation for -15 in 16 bit hexadecimal representation

https://brainly.in/question/12961284

Similar questions