deterministic and stochastic system