Machine Epsilon use in Matlab provide a clear example How c

Machine Epsilon - use in Matlab

provide a clear example

How can the machine epsilon be employed to formulate a stopping criterion es for your programs? Provide an example.

Solution

e.g. abs(previous_step - current_step) <= abs(previous_step * relative_error) + eps

   In this case when the relative error is 0 then the epsilon can be used as the stopping criterion for the program.

Machine Epsilon - use in Matlab provide a clear example How can the machine epsilon be employed to formulate a stopping criterion es for your programs? Provide

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site