The function y(t) in this example is equal to the integral of cos(x) such that
$ y(t) = \int_{-\infty}^{N} cos(x)\, dx $