An Introduction to Solid State Physics and Its Applications