Question

In: Physics

(a) Do operation 75.38 - 18.62 in binary using two's complement. Use for the fractional part...

(a) Do operation 75.38 - 18.62 in binary using two's complement. Use for the fractional part 6 bits
(b) Convert the resulting expression to decimal, and say how much is the absolute error obtained in the operation.

Solutions

Expert Solution


Related Solutions

Part 1: Solve the operation 75.38-18.62 in binary using two's complement. Use 6 bits for the...
Part 1: Solve the operation 75.38-18.62 in binary using two's complement. Use 6 bits for the fractionary part. Part 2:Convert the result to a decimal, and explain how much is the absolute error obtained in the operation. (Provide Step by Step process of problem solving in each part.)
i need to convert decimal to twos complement binary and then add the binary digits but...
i need to convert decimal to twos complement binary and then add the binary digits but I am unable to do it. I am only allowed to use string, can anyone help me out please. i need the code urgently. #include #include #include #include using namespace std; string reverse(string s) { string x = ""; for (long i = s.length() - 1; i >= 0; i--) { x += s[i]; } return x; } string twosComplementStringsAddition(string A, string B) {...
Design a 9’s complement of a Binary Coded Decimal
Design a 9’s complement of a Binary Coded Decimal
Convert decimal +47 and +31 to binary, using the signed-2’s-complement representation and enough digits to accommodate...
Convert decimal +47 and +31 to binary, using the signed-2’s-complement representation and enough digits to accommodate the numbers. Then perform the binary equivalent of (+31)+(-47), (-31)+(+47), and (-31)+(-47). Convert the answers back to decimal and verify that they are correct.
Write -127 as 8 bit signed binary number both using 2'complement and sign/magnitude notation.
Write -127 as 8 bit signed binary number both using 2'complement and sign/magnitude notation.
Binary How is 00001001 (base 2) represented in 8-bit two’s complement notation? Convert 0.3828125 to binary...
Binary How is 00001001 (base 2) represented in 8-bit two’s complement notation? Convert 0.3828125 to binary with 4 bits to the right of the binary point. How is 00110100 (base 2) represented in 8-bit one's complement.  
In C++, Implement the heapafication operation. Do not re-implement the binary tree class. Simply create a...
In C++, Implement the heapafication operation. Do not re-implement the binary tree class. Simply create a funcntion that takes in a binary tree and heapafies it. Meaning it takes in a pointer to a binary tree and converts it into a heap. (You may choose max or min heap).
The standard method of representing negative numbers in the binary system is with 2's complement notation....
The standard method of representing negative numbers in the binary system is with 2's complement notation. What are the advantages and disadvantages of using this method to represent negative numbers?
(a) Convert the decimal numbers, 70 and -26 to binary in the signed 2’s complement system....
(a) Convert the decimal numbers, 70 and -26 to binary in the signed 2’s complement system. Make sure there are enough digits in the results to be able to perform arithmetic operations with these two numbers. (b) Perform in the signed 2’s complement system, (+70) + (-26) (c) Perform in the signed 2’s complement system, (-70) - (-26) (d) Perform in the signed 2’s complement system, (+70) + (+26)
For each of the following determine whether ∗ is a binary operation on R. If so,...
For each of the following determine whether ∗ is a binary operation on R. If so, determine whether or not ∗ is associative, commutative, has an identity element, and has inverse elements. (a) a ∗ b = (ab) / (a+b+1) (b) a ∗ b = a + b + k where k ∈ Z (c) a ln(b) on {x ∈ R | x > 0}
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT