Example of continuous positive function without limit whose improper integral is convergent

491 Views Asked by At

I would like an example of a function that is continuous and positive and has the following properties: $$\int_a^{\infty}f(x) dx $$ is convergent and $$\lim_{x \to \infty} f(x) \not = 0$$ (I think the limit should not exist).