Question: 6. For computers operating with a floating point number representation, there will be a limit to the precision available, and this can be expressed as

 6. For computers operating with a floating point number representation, there

6. For computers operating with a floating point number representation, there will be a limit to the precision available, and this can be expressed as a ratio of the smallest increment possible compared to the overall number. This ratio of x/x is referred to as the machine epsilon . It can also be thought of as the smallest number that when added to 1 will give a number greater than 1. An algorithm based on this idea can be developed in the following way: Step 1: Set=1. Step 2: If 1+ is less than or equal to 1 , then go to Step 5 . Otherwise go to Step 3. Step 3: =/2 Step 4: Return to Step 2 Step 5:=2 Write an m-file based on this algorithm to determine the machine epsilon. Validate the result by comparing it with the value computed with the built in function eps

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!