The Langevin equation with applications in physics, chemistry and electrical engineering