How does the Fourier transform get you the frequency amplitude I understand that the Fourier transforn gets you the function which gives the amplitude of each frequency. But I don't understand how that is possible by multiplying it by an exponential. How is that possible?
EDIT: Since my question seems to be unclear: how do you get the amplitude of a frequency f, by integrating it and multiplying it with exp(-i*2*Pi*f) ?

Let's look at the equation of the Inverse Fourier Transform.
$$f(x)=\int_{-\infty}^{\infty}F(s)\text{e}^{i2\pi sx}ds$$
The integral is "like" a summation, so let's replace it with a summation to make it easier.
$$f(x)=\sum_{s=-\infty}^{\infty}F(s)\text{e}^{i2\pi sx}\Delta s$$
We've approximated the integration with a Riemann sum.  This is not necessary, but maybe it makes things a bit easier to see.
We can rewrite this using Euler's identity.
$$f(x)=\sum_{s=-\infty}^{\infty}F(s)\left(\cos(2\pi sx)+i\sin(2\pi sx)\right)\Delta s$$
So we see that our function $f$ is really just a sum of a bunch of sinusoids.  What are the frequencies of these sinusoids?  And what are their amplitudes?  Recall that the function $g(x)=A\cos(\omega x)$ has frequency $\omega$ with amplitude $A$
So we see that the frequencies of the sinusoids are $2\pi s$ and the amplitudes are $F(s)$.
$F$ is often called the spectrum of the function $f$.
