This is really stumping me. I have a signal that is being modulated at frequency $f$, and is sampled every $\Delta t$ seconds for $N$ samples. I'll index these samples with $k$.
The signal is $S(k\Delta t) = -A \cos(2 \pi f k \Delta t)$
The derivative of this is approximately: $S'(k \Delta t) = \frac{S((k+1) \Delta t) - S(k \Delta t)}{\Delta t} = -\frac{A}{\Delta t}(\cos(2 \pi f (k+1) \Delta t)-\cos(2 \pi f k \Delta t))$
By writing these out in complex exponential form, I can rewrite this as:
$S'(k \Delta t) = -\frac{A}{2 \Delta t}(e^{2\pi i f \Delta t}+1)\cos(2 \pi f k \Delta t)$.
However, I know that the derivative of a cosine should be a negative sine! Probably:
$S'(k \Delta t) = 2\pi f \Delta t A \sin(2 \pi f k \Delta t)$.
How on earth do I show that these last two lines are approximately equal? Thank you very much for your help!