Solid state physics is the branch of physics that is primarily devoted to the study of matter in its solid …