I think it's just because the results are rounded to integers after
each step. Replace
set x 5
by
set x 5.0
will return the correct answer.

With kind regards,

--
Hai-Nam NGUYEN
http://www.jcisio.com

Reply via email to