Aproximation of functions by linear combinations of exponentials