**Please Please Please show it in python** Part 1 Write a Python function findEp
ID: 3755074 • Letter: #
Question
**Please Please Please show it in python**
Part 1
Write a Python function findEpsilon which finds the machine epsilon by determining the smallest floating point number larger than 1 that can be stored in the machine.
Write a Python function findLargest which finds largest floating point number that can be stored in the machine.
Print the base 2 exponent for both these numbers.
Find the IEEE 754 representation of the numbers in the table i.e. create this table and fill it out in Jupyter notebook with the necessary conver- sions, the sign bits, exponents and mantissa. You can pick two integers of your choice for the last two rows. I must be able to see your work in detail. Don’t skip steps here. Use the LaTeX capability of the markdown cells in Jupyter notebook. For the conversions, work them out by hand and show me the details of the calculation. Then show that the results are correct using the Python built in conversions for the binary and decimal types for at least one case each for decimal to binary and binary to decimal respectively.
Explanation / Answer
Since this question contains multiple parts, I'm gonna help you with the first two parts:
The rest are assignments that need to be done on pen and paper I'm guessing.
Here is the entire script invoking these two functions:
These should help you with the first two parts in the question.
Hope this helps :)
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.