Jensen's Device: Difference between revisions

Content added Content deleted
Line 91: Line 91:
set temp to 0
set temp to 0
set i to lo
set i to lo
repeat while i hi
repeat with i from lo to hi
set temp to temp + (term's f(i))
set temp to temp + (term's f(i))
set i to i + 1
end repeat
end repeat
return temp
return temp