Text this: Dynamics of a general model of nonlinear difference equations and its applications to LPA model