From: Michel G. <mg...@gm...> - 2024-12-27 16:01:31
|
Hello Don't you think this answer from maxima can be strange for a beginner ? I understand the answer knowing how maxima find this result with floating numbers, but it may be better : (%i54) makelist(k,k,0,1,0.1); (%o54) [0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.7999999999999999,0.8999999999999999,0.9999999999999999] For correct result, makelist(k,k,0,1,1/10) then float(%) Mathematica gives the exact answer : Table[k, {k, 0, 1,0.1}] {0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1.} Regards |