Are you referring to the Dirac Delta Function?
i am working with functions f(x) that resemble the delta-function: very high value at x = 0, which drops by many orders of magnitude at the next data point x = 0.1, and so on. i need to integrate f(x) for further calculations. up till now, i have been numerically integrating them by the simple trapezium rule. but i realise that this may not be the most accurate way to do it, because of this very sharp peak at x = 0. are there any better methods to integrate such a function?