How do I take a derivative of a function?