Text this: A mathematical model for social security systems with dynamical systems