what i want to do is making a loop, which can do an iteration work automatically.
In this function, i put the initial value
and by using an Minerr optimization, it gives final values(which i defined as Newvalue)
and what i need to do is iteration work
so reusing this Newvalue as an initial value.
for example, if i put n=3, it should mean it iterate 3 times
for that i tried using an While loop.
but i think this is not right..because it gives same result eventhough i put different value of n.
can you help me with this problem?