Question: 4. Machine precision: (a) Write a matlab program to find the machine precision Emach of your computer based on the following definition: The machine

4. Machine precision: (a) Write a matlab program to find the machine precision Emach of your computer based on the following definition: The machine precision is the smallest number such that fl(1 + ) > 1. (b) Use the same program (with some parameter changes) to find the smallest positive number Imin that can be represented in your computer. Do not use any built-in functions of matlab, i.e., use only addition, subtraction, multiplication, and division for calculations.
Step by Step Solution
3.47 Rating (167 Votes )
There are 3 Steps involved in it
ANSWER a Here is a Matlab program that computes the machine precision of your computer Define initial values eps 1 epsold 0 Loop until machine precisi... View full answer
Get step-by-step solutions from verified subject matter experts
