The Mathematics of Derivatives Tools for Designing Numerical Algorithms