1 answer

Problem 5 (20 points) Consider a floating point number representation that is 16 bit wide. The...

Question:

Problem 5 (20 points) Consider a floating point number representation that is 16 bit wide. The leftmost bit is the sign bit, and the next 5 bits from the left make up an exponent (which has a bias of 15). The remainder 10 bits give the magnitude of the number. This representation assumes a hidden 1. Consider the number -1.3215 x 10-1 How doe its rine and acrac cmpare wit a he same number, this time b) How does its range and accuracy compare with that of the same number, this time represented in IEEE 754 format? Justify your answer. c) Calculate the product of the number by itself by hand. d) Briefly describe the steps involved in a computer calculated result of this product

Problem 5 (20 points) Consider a floating point number representation that is 16 bit wide. The leftmost bit is the sign bit, and the next 5 bits from the left make up an exponent (which has a bias of 15). The remainder 10 bits give the magnitude of the number. This representation assumes a hidden 1. Consider the number -1.3215 x 10-1 How doe its rine and acrac cmpare wit a he same number, this time b) How does its range and accuracy compare with that of the same number, this time represented in IEEE 754 format? Justify your answer. c) Calculate the product of the number by itself by hand. d) Briefly describe the steps involved in a computer calculated result of this product

Answers

IF YOU HAVE ANY DOUBTS PLEASE COMMENT BELOW

PLZZZZZZ RATE THUMBSUP PLZZZZZZZZZZZZZ

ANS:

THIS IS ARTHEMATIC FOR COMPUTERS

a. bit representation - 0(sign) 11111 ( Exponent) 1111111111 mantissa

b .Accuracy in floating point representation is governed by number of significand bits, whereas range is limited by exponent.

A bias of (2n-1 – 1), where n is # of bits used in exponent, is added to the exponent (e) to get biased exponent (E), therefor here it would be 2^5-1=15;

Largest number will be 1.111111111×2^(+15)

Smallest = 1.00000×2^(-15)

whereas IEEE 754 has
Largest = 1. 1 1 1 … x 2^ +127 = 2 x 10 ^+38 (aprrox for 32 bit representation)
Smallest = 1.000 … x 2 ^–128 = 1 x 10 ^-38 (aprrox for 32 bit representation)

c & d:

let A = -1.3215 x 10^-1
Step 1. Exponent of A x A = -1 + (-1) = -2
Step 2. Multiply significands
-1.3215 x -1.3215 = 1.74636225
Step 3.

Normalize the product
1.74636225 = 1.74636225 x 10^0
Step 4. Round off
A x A = 1.7463 x 10^0
Step 5. Decide the sign of A x B (- x - = +)
So, A x B = + 1.7463 x 10^0

PLZZZZZZZZ RATE THUMBSUP

.

Similar Solved Questions

1 answer
PLEASE complete this in java. Write a program that prompts the user to enter a file...
PLEASE complete this in java. Write a program that prompts the user to enter a file name and displays the occurrences of each letter in the console window and in a file. Letters are case insensitive. Use “USAconst.txt” for input and “letterCount.txt” for output. Use try- cat...
1 answer
Triple Star Company's standard and actual costs per unit are provided below for the most recent...
Triple Star Company's standard and actual costs per unit are provided below for the most recent period During this period, 500 units were actually produced. Product Standard Cost Product Actual Cost Metres 4 $8.00 4.1 $7.79 Unit Price Per Metre $2.00 $1.90 Hourly Rate $7.00 $6.50 Hours Materials...
1 answer
S4-12 (similar to) The accounting records for Bob's Auto Parts, Inc., reflected the following amounts at...
S4-12 (similar to) The accounting records for Bob's Auto Parts, Inc., reflected the following amounts at the end of May 2018. B! (Click the icon to view the accounts.) Prepare the classified balance sheet for Bob's Auto Parts, Inc., at May 31, 2018. Use the report format. Begin by preparing ...
1 answer
Please read the question carefully, it is f'(x0) not f'(xn)------- 3. (20 points) We are looking...
Please read the question carefully, it is f'(x0) not f'(xn)------- 3. (20 points) We are looking for the root of ). Consider the following modified Newtons method, f(rn) f'(xo) Determine the order of convergence....
1 answer
You need to estimate the mean number of travel days per year for outside salespeople. The...
You need to estimate the mean number of travel days per year for outside salespeople. The mean of a small pilot study was 150 days, with a standard deviation of 30 days. If you must estimate the population mean within 6 days, how many outside salespeople should you sample? Use the 98% confidence lev...
1 answer
Which of the following accurately describes unsystemic risk? Unsystemic risk is correlated to investing in only...
Which of the following accurately describes unsystemic risk? Unsystemic risk is correlated to investing in only one company or security. All of these answers. A company losing a lawsuit which creates a massive legal liability is an example of unsystemic risk. Unsystemic risk can be diversified away....
1 answer
2x^2+x-28=0 Solve by completing the square
2x^2+x-28=0Solve by completing the square...
1 answer
Question 9 (1 point) A piece of wood, cut from a magnolia tree, with density Pwood...
Question 9 (1 point) A piece of wood, cut from a magnolia tree, with density Pwood = 572 kg/m, is tied with a string to the bottom of a water-filled flask, as shown in the figure. The wood is completely immersed. The tension in the string is 0.123 N. What is the volume of the piece of wood? The wood...
1 answer
8. For the RLC circuit shown, K 10 fl. L :i 50 mH, and C- 10...
8. For the RLC circuit shown, K 10 fl. L :i 50 mH, and C- 10 μ} Find the half power frequencies, the resonant frequency, the bandwidth, and the quality factor in terms of R, Land C. i(0) R 0)...
1 answer
If the pressure is very low, ice can sublimate at -70 degree C, instead of melting...
If the pressure is very low, ice can sublimate at -70 degree C, instead of melting and then evaporating To calculate the enthalpy of sublimation (Delta H_subl) at such temperature, we can take advantage of the properties of state functions. a. In the T vs. H diagram below, draw a plausible path to g...
1 answer
 Find the value of a bond maturing in 7 ​years, with a ​$1000 par value and...
 Find the value of a bond maturing in 7 ​years, with a ​$1000 par value and a coupon interest rate of 14​% ​(7​% paid​ semiannually) if the required return on​ similar-risk bonds is 17​% annual interest left parenthesis (8.5 % paid​ semiannu...
1 answer
Why the Earth is not in thermal equilibrium with the Sun?
Why the Earth is not in thermal equilibrium with the Sun?...
1 answer
Question 5 6 marks A Japanese avocado tree has twenty fruits, exactly fifteen of which have...
Question 5 6 marks A Japanese avocado tree has twenty fruits, exactly fifteen of which have no stones. A monkey eats five whole avocados, picked at random. Subsequently, an avocado is picked randomly from the remaining fifteen 2(a) What is the probability that this avocado contains a stone? b) Given...
1 answer
What is the function of the blindspot in an eye?
What is the function of the blindspot in an eye?...
1 answer
A software product, consisting of 12,200 source lines of code, was developed by four programmers, each...
A software product, consisting of 12,200 source lines of code, was developed by four programmers, each working 20 hours per week, over a six-month period. After delivery, approximately 160 source lines are modified every month. What is the annual maintenance effort for this product in person-months ...