Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Please solve these 3 questions: 1) give the formula in terms of b and p for the

ID: 3883497 • Letter: P

Question

Please solve these 3 questions: 1) give the formula in terms of b and p for the smallest postive integer that cannot be represented in the system F

2)What is the smallest positive integer that cannot be represented as an IEEE 754 double?

3)Using Python, write code to verify that n-3, n-2, and n-1 are all represented as floating point numbers, but n is not. And what about n+1, n+2, n+3?

This is a reference for the first question.

(TB97, ex 13.2) Not every integer can be represented as a floating point number. Give a formula in terms of band p for the smallest positive integer that cannot be represented in the system F of Section 1.3.2. What is the smallest positive integer that cannot be represented as an IEEE 754 double? Write and execute a program to verify that n - 3, n = 2, and n – 1 are all represented as floating point numbers on your computer, but n is not. What about n + 1, n + 2, n +3...?

Explanation / Answer

2-For float, it is 16,777,217 (224 + 1).
For double, it is 9,007,199,254,740,993 (253 + 1).

For other questions to be answered please provide as separate questions