Sampling Frequency

I am currently using the Arduino Due. Is there a way to set the sampling frequency f? I am sending the board a sine wave from a function generator with a frequency of 60 Hz. I want to sample exactly 6000 samples per second (100 samples per wave form).

hye u can check this out to do that.. there many forum post about this http://www.gammon.com.au/forum/?id=11504