Estimate scalar derivatives with forward, backward, and central finite differences and compare their numerical errors.