Derive: a simple derivative calculator

Complete the derivative: