Dot plot of function f(x) = e(-x) * cos(2 * pi * x) for x = [0, 4)