Question: Consider the following two evaluations from MATLAB command prompt. >> log (1+ 1e-16)/1e-16 ans = 0 >> log(1+1e-16)/((1+1e-16) -1) ans = NaN Which of
Consider the following two evaluations from MATLAB command prompt. >> log (1+ 1e-16)/1e-16 ans = 0 >> log(1+1e-16)/((1+1e-16) -1) ans = NaN Which of the following is TRUE? The different answers are due to truncation error. The different answers are due to mathematical error. O The different answers are due to round-off error. O The different answers are due to coding error.
Step by Step Solution
There are 3 Steps involved in it
The detailed answer for the above question is provided below The screenshot presents two different M... View full answer
Get step-by-step solutions from verified subject matter experts
