Degree thesis for Statistical mechanics for Economics's students