Question: Assigning and disconnecting the relation between the two functions.

Hi every body I have two functions which are aold(x) and anew(x). I am using them to update a function as: For example: aold:=x-> x^2; for i from1 to 5 do anew:=x->aold(x)+x; aold(x):=anew; end do; But it does not work because it cause loop in assigning the function. Also, if I unassign the aold(x) as aold(x):='aold(x)', also anew(x) got unassigned automatically. I am looking for a way to assign anew(x) as anew(x)=aold(x) and after that disconnect the relation between the two functions. Thanks Hamidreza.
Please Wait...