amplitude of a function - Search