I am a bit confused between the following two formulas:
$$ f\le \frac{f_s}{2} \tag{1}$$
and:
$$ f = \frac{f_s}{N} \tag{2}$$
Now I am given an ACF Plot of a sine/cosine wave and I am asked to find the frequency of the signal if the signal is sampled at 1,000 samples/second. I am asked to use the information given in the ACF plot and the sampling rate of 1,000 samples/second.
In the book "Probability and Stochastic Processes" I find the formula (1) i.e., Nyquist Theorem and at another site, here, I find the formula (2) in use.
I have the above two formulas but I am confused in which formula to use. I tried asking this question before but could not explain it clearly. I hope I have explained it properly this time.