Question: Write a script to find N m i n , the smallest possible value for N in Eq . ( 1 ) so that l

Write a script to find Nmin, the smallest possible value for N in Eq.(1) so that ln(5) evaluated using myLog with Matlab's defau double precision arithmetics is exact when written as a half-precision binary floating point number in engineering notation. Us decimal2binary developed in Module I to answer this question and do not use Matlab's half (). Just setting Nmin withou an algorithm to find its value will not give any credit.
Notes for the MatlabGrader script submission:
Comment out clear or clear all in your script when submitting to MatlabGrader.
Store the answer in the variable Nmin.
Do not include the source code for myLog or decima 12binary in your submission. Correct versions are used automatically on Matlab Grader.
 Write a script to find Nmin, the smallest possible value for

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!