Thesis for Statistical mechanics for Economics's students