One might hope that this method would work at least for sufficiently regular maps; however,......
It will eventually appear that the results are much more satisfactory than one might expect.
Let us see what such a formula might look like, by analogy with Fourier series.