0
How could you create a function called repeat_prod(n) that takes a number n and returns this function P = 1*1.2*1.4*....(1+0.2(n-1))
I’m having a hard time understanding how this function should be and I appreciate any direction.
I tried to:
function 1*1.2*1.4*....*(1+0.2*(n-1)) = repeat_prod(n)
for n:
n = 1*1.2*1.4*....*(1+0.2*(n-1));
end
what is this pile of dots "...." ??
– ederwander