Question: Using a technique explained in the class, calculate the number of mantissa digits and the unit round-off on the machine that you will use for
Using a technique explained in the class, calculate the number of mantissa digits and the unit round-off on the machine that you will use for this course. You need to know the number for analyzing errors in this and other home-works and, therefore, we will not be checking your computer projects until you show us (grader or me) a correct solution to this problem.
CODING IN PYTHON
This is the screen shot of the professors problem. If it is unclear to you DO NOT COMMENT. others have been able to answer this question in c++ code.
COMPUTER PROJECT Solutions to the following problems should consist of program codes, computed results, and short write-ups. In the write-up, discuss the results you have obtained and explain them from the numerical point of view. Use SINGLE PRECISION ONLY. Insert COMMENTS in your programs. PROBLEM 4 (2 pt.): Using a technique explained in the class, calculate the number of mantissa digits and the unit round-off on the machine that you will use for this course. You need to know the number for analyzing errors in this and other home-works and, therefore, we will not be checking your computer projects until you show us (grader or me) a correct solution to this problem. COMPUTER PROJECT Solutions to the following problems should consist of program codes, computed results, and short write-ups. In the write-up, discuss the results you have obtained and explain them from the numerical point of view. Use SINGLE PRECISION ONLY. Insert COMMENTS in your programs. PROBLEM 4 (2 pt.): Using a technique explained in the class, calculate the number of mantissa digits and the unit round-off on the machine that you will use for this course. You need to know the number for analyzing errors in this and other home-works and, therefore, we will not be checking your computer projects until you show us (grader or me) a correct solution to this
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
