def Requin(C,P,R,N): for j in range(N): Cprec=C Pprec=P Rprec=R C=0.5*Cprec+0.2*Pprec+0.2*Rprec P= R= return (C,P,R)