added image of sampled function