Give an Example where f(x) is greater than or equal to 0 but f(x) is not decreasing and the integral converges while the series diverges or vice versa.

x+3-(f) and use it in the verse vice way