Question: How to put the condition in while (z<>ic) to make the iteration stops when it reaches z=ic? (initial conditions)

here is my maple procedure. I have to make the iteration works until I have met the initial condition it will stop. the initial conditions here is z:=ic.

somehow the output gave me

here my initial condition is z:=[1,1] I should get the array [[1,1],[3,0],....,keeps iterates and stops whenever z:=ic]

where should I put the while command? please. I would be very grateful if you could help me with this. Thank you.

Please Wait...