I have to construct a continuous function such that
$$\int_{-\infty}^\infty |f(x)| \, dx<\infty$$
but
$$\lim_{x\to \infty}|f(x)|$$
does not exists.
I have already known one messy example that deals with lines and minimum distance. I just want to see different examples. I know we can construct a triangle with fixed height and decreasing base such that the area get's smaller and the integral is like the geometric series. However, the fixed height makes the limit inexistent. I just dont know how to describe that properly. Thanks.