Statistical Physics and solid state physics