Mathematics in the Simulation of an Economics System