Your Perfect Assignment is Just a Click Away
We Write Custom Academic Papers

100% Original, Plagiarism Free, Customized to your instructions!


program a given floating point binary number to its decimal

program a given floating point binary number to its decimal

program a given floating point binary number to its decimal

Question Description

There are three questions. The second question and third question must be used by Matlab. Thank you.


(i) What is a floating point number? Why is it “floating point”?

(ii) Explain the use of the mantissa and exponent for its representation on a computer. Why is it

(iii) Explain the terms “normalization”, “hidden bit” and “bias” in the context of floating point
number representation

2. Write a program that converts a given floating point binary number with a 24-bit normalized
mantissa and an 8-bit exponent to its decimal (i.e. base 10) equivalent. For the mantissa, use the
representation that has a hidden bit, and for the exponent use a bias of 127 instead of a sign bit. Of
course, you need to take care of negative numbers in the mantissa also.

Use your program to answer
the following questions:

(a) Mantissa: 11110010 11000101 01101010, exponent: 01011000. What is the base-10 number?

(b) What is the largest number (in base 10) the system can represent?

(c) What is the smallest non-zero positive base-10 number the system can represent?

(d) What is the smallest difference between two such numbers? Give your answer in base 10.

(e) How many significant base-10 digits can we trust using such a representation?

The third question was in the attachment.

We offer the best custom essay writing services at an affordable rate. We have done this assignment before, we can also do it for you.

Order Solution Now

Our Service Charter

1. Professional & Expert Writers: Essay Pillars only hires the best. Our writers are specially selected and recruited, after which they undergo further training to perfect their skills for specialization purposes. Moreover, our writers are holders of masters and Ph.D. degrees. They have impressive academic records, besides being native English speakers.

2. Top Quality Papers: Our customers are always guaranteed of papers that exceed their expectations. All our writers have +5 years of experience. This implies that all papers are written by individuals who are experts in their fields. In addition, the quality team reviews all the papers before sending them to the customers.

3. Plagiarism-Free Papers: All papers provided by Essay Pillars are written from scratch. Appropriate referencing and citation of key information are followed. Plagiarism checkers are used by the Quality assurance team and our editors just to double-check that there are no instances of plagiarism.

4. Timely Delivery: Time wasted is equivalent to a failed dedication and commitment. Essay Pillars is known for timely delivery of any pending customer orders. Customers are well informed of the progress of their papers to ensure they keep track of what the writer is providing before the final draft is sent for grading.

5. Affordable Prices: Our prices are fairly structured to fit in all groups. Any customer willing to place their assignments with us can do so at very affordable prices. In addition, our customers enjoy regular discounts and bonuses.

6. 24/7 Customer Support: At Essay Pillars, we have put in place a team of experts who answer to all customer inquiries promptly. The best part is the ever-availability of the team. Customers can make inquiries anytime.