Simulation of three physical phenomena