AN ANALYTICAL DESCRIPTION OF THE BEHAVIOR OF GRANULAR MEDIA