I know how to compute mean and standard deviation for a given probe. But how do I the opposite? Given is the wanted mean and standard deviation and I want to create the probes.
In other words: What algorithm can I use to create lets say 10.000 random floats that will approximate to a mean of 77 with a standard deviation of 5?
This is done by a method (or group of methods) called random sampling. For example, let's say we have a normal distribution $(\mu,\sigma)$, the distribution density is:
$$f(x)=\frac{1}{\sqrt{2\pi}\sigma}e^{-\frac{(x-\mu)^2}{2\sigma^2}}$$
In this case we have an infinite domain. we can do two simple things, the first one would be to cut it. For example let's say we produce random floats uniformly distributed in the interval $(\mu-3\sigma,\mu+3\sigma)$, which covers a big part of the distribution. Then we create another random float uniformly distributed in the $y$ axes of a plot of $f(x)$, between $0$ and $\frac{1}{\sigma\sqrt{2\pi}}$. Then we accept that point if it's below $f(x)$. This works for an arbritary $f(x)$ and is exact if the distribution is defined in a finite interval.
For the specific case of a normal distribution, we can use the fact that under a change of coordinates, we get a simpler distribution (and finite!):
Multiply the distribution with it self and integrate (usually done for integrating exactly the pdf), and suppose $\mu=0$ (you can just shift all samples by $\mu$ at the end:
$$I^2=\frac{1}{2\pi\sigma^2}\int_0^\infty dx\int_0^\infty dye^{-\frac{x^2+y^2}{2\sigma^2}}$$
Now change to polar coordinates, and then $\varphi = \frac{r^2}{2\sigma^2}$, and you get:
$$I^2=\int_0^{2\pi}\frac{d\phi}{2\pi}\int_0^1 \varphi$$
You get two uniform distributions for $\phi$ and $\varphi$ You can just generate a random number $X$ between $0$ and $2\pi$ and another $Y$ between $0$ and $1$, and undo the change of variables:
$$r=\sigma\sqrt{-2\ln Y}$$ $$x=r\cos(X)\qquad y=r\sin(X)$$
And $x$ and $y$ will be two numbers following a normal distribution $(0,\sigma)$, if you want mean $\mu$, just add $\mu$ to all generated numbers.