% Script roundoff1.m % 1/10 cannot be stored exactly. s = 0; max_index = 10000; for k = 1 : max_index s = s + 0.1; end s