> hh wrote: > function f n,x > return x*abs(x^(n-1)) > end f Sorry that's wrong. Should read function f n,x return x*abs(x)^(n-1) end f