Study guides

☆☆

Q: What is the value of the decimal number -44 expressed in 2's complement format?

Write your answer...

Submit

Still have questions?

Continue Learning about Engineering

There is no largest number, either decimal or binary.

The decimal number 67 is expressed in binary as 1000011.

You take 1245 and form the two's complement of it then add it to D257. The two's complement of a number is defined as the 1's complement + 1. In signed two's complement arithmetic, the most significant bit is the "sign" bit. 1 indicates a negative number and 0 indicates a positive number. To find the magnitude of a negative number, take it's two's complement (ignoring carry bits). To get the two's complement of 1245, take the 1's complement of 1245 and add 1. In binary 1245 is 0001001001000101. The one's complement is 1110110110111010 (in hex that's EDBA) . Adding 1 to this will give you the two's complement. That is EDBA+0001 (ignore the carry if any), is EDBB. Now you add EDBB to D257 and ignore any carry, so that will be 1C012 (throw away the carry bit), C012. C012 is a negative number (the sign bit, the most significant bit, is 1). To find its magnitude, apply the two's complement algorithm above, and you'll find it to be -16365. Note: D257 is a negative number, and you're subracting a positive number, so you're going to end up with another negative number, i.e. adding the two's complement of a number is the same thing as subtracting the number. You can check your result by doing the math in decimal to see if it adds up. D257 in decimal = -11688 (you apply the two's complement to the number to find the magnitude, and the sign is negative because the sign bit, the most signficant bit is 1). 1245 in decimal = 4677. -11688-4677 = -16365 (which in hex signed two's complement is C012).

In computer science, the sign bit is a bit in a computer numbering format that indicates the sign of a number. In IEEE format, the sign bit is the leftmost bit (most significant bit). Typically if the sign bit is 1 the number is negative (in the case of two's complement integers) or non-positive (for ones' complement integers, sign-magnitude integers, and floating point numbers), while 0indicates a positive number.

If you mean 4 decimal places, then in Excel,Highlight the relevant cells.The select Format, CellsSelect the Numbers tab.Select Number and then, on the right hand side, select the number 4 in Decimal places.And then OK back.

Related questions

232

6

This number already is expressed as a decimal.This number already is expressed as a decimal.This number already is expressed as a decimal.This number already is expressed as a decimal.

You would format it as Number with 2 decimal places.You would format it as Number with 2 decimal places.You would format it as Number with 2 decimal places.You would format it as Number with 2 decimal places.You would format it as Number with 2 decimal places.You would format it as Number with 2 decimal places.You would format it as Number with 2 decimal places.You would format it as Number with 2 decimal places.You would format it as Number with 2 decimal places.You would format it as Number with 2 decimal places.You would format it as Number with 2 decimal places.

The "complement" of a number is another number in which each digit, when added to the corresponding digit in the original number, will add up to the largest digit of the base in which the number is expressed. That sounds far more complicated than it really is. It's easier to understand by working through it. For example, take the decimal number "1976". The complement of 1976 would be another number which, when added to 1976, gives you the value 9999. In other words, each digit, added to it's corresponding digit in the complement, should total 9. So the complement of 1976 would be 8023. Perhaps a better example would be the number 9876543210. It's complement would be 0123456789. If you add the two numbers together, you'd get 9999999999. It is important to note though, that the complement of a number will differ depending on the base number is expressed in. For example, take the number 100 in decimal. It's complement is 099. If we express that number in binary however: 1100100 it's complement would be: 0011011 which, converted back to decimal, gives us the value 27. In other words, the value of a number's complement depends on the base in which the number is expressed.

A decimal rational number can be expressed as a fraction A decimal irrational number can not be expressed as a fraction

The term complement is not restricted to Vedic mathematics - it is a fairly common term. The complement of a number is another number in which each digit, when added to the corresponding digit in the original number, will give you a value exactly one less than the base in which the number is expressed.Most people tend to work in decimal though, and if you are strictly using decimal notation (as opposed to binary for example), then you can simplify that definition to say:The complement of a number is another number that, when added to the original, will have the same number of digits, and each one of them will be a "9".For example, the decimal complement of 12345 is 87654. If you add the two numbers together, you'll get 99999. Similarily, the decimal complement of 8675309 is 1324690.Note that the complementary value of a number will be entirely dependent on the base in which it's expressed. For example, in hexadecimal (base 16), the complement of the number 6 would be 9. In decimal on the other hand, it would be 3.

The number as presented is already in decimal format.

No, irrational numbers can't be expressed as a terminating decimal.

The number 67.18 is already expressed as a decimal.

The number 180.45 is already expressed as a decimal.

The number in the question is already expressed as a decimal.

People also asked