Click 04_sampling _and_DFT_in_class.pdf link to view the file.