f(x) = sin(1/x)
a
^{ }
b
Try with n = 10000, 20000, 40000, ...
n
_{a}
∫
^{ b }
f
=
output / notes
Increasing "n" improves the precision, but if "n" is too large the precision gets worse
(observing the outputs you can see when they no longer tend to converge)