Analysis and numerical methods in solid state physics and chemistry