# adaptive Adaptive sampling of functions