Glauber Dynamics: An Approach in a Simple Physical System