Discrete Derivatives

In the real world, data is discrete. We can measure things only so often or so finely. This post derives the general form for discrete derivatives and makes a quick ‘n dirty implementation.