Page 1 sur 1

ITERATE cmd

Publié : lun. nov. 12, 2018 4:45 pm
par compsystems
The ITERATE command is not documented on Help win version

Syntax:
ITERATE(expr, var, i_value, times)
For times, recursively evaluates expr in terms of var, beginning with var = i_value.

ITERATE(x+1,x,4,3) [enter] returns 7.0 // (4.0+1)+1+1
ITERATE(x,x,4,3) [enter] returns 4.0 // (4.0+0)+0+0

Or what is the synonym command in Xcas?