Methods for rootfinding, optimization, numerical integration, polynomial interpolation, and Taylor approximation