Physical applications of stochastic processes