Non zero errors obtained when zero error is expected

2 views (last 30 days)
The below shown graph represents errors (between an exact solution and an approxmimate solution) for different number of nodes (ranging from 5 to 100). The error values are expected to be zero (as exact and apprximate solutions are equal) but a considerably smaller value is obtained which is closer to machine precision (eps) but not equal to it.
The same graph is generated from a different machine which is installed with matlab R2020a. It also didn't give zero error but a considerably smaller value is obtained which is closer to machine precision (eps) but not equal to it and was different from ones generated with first machine. (Both machines uses windows 10 as operating system).
  1. What could be the possible reason for non zero errors?
  2. Why are different machines giving different values of errors?
Thanks in advance,
Sree Raj V
  3 Comments
Walter Roberson
Walter Roberson on 25 Feb 2021
If one has an AMD CPU then it will calculate differently than an Intel CPU.
Sree Raj V
Sree Raj V on 11 Mar 2021
@dpb The code is attached herewith for reference.
Matlab versions are: 1. R2020a
2. R2020b
@Walter Roberson Both used intel CPUs, i7 and i5 for R2020a & R2020b respectively

Sign in to comment.

Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!