Lecture Notes on Diophantine Analysis