Given x and y independently uniformly distributed in [-1,1], set r = x^{2}+y^{2}. If r = 0 or r > 1, throw them away and try another pair (x, y). Thus, all points left after this filtering process will be uniformly distributed within a unit circle. Then, for these filtered points, compute:
<math>
z_0 = x \cdot \sqrt{\frac{-2 \ln r}{r}}
</math>
and
<math>
z_1 = y \cdot \sqrt{\frac{-2 \ln r}{r}}
</math>
The second method is faster because it uses only one transcendental function[?] instead of three, even though it throws away 21% of the numbers.
... Podgorica (Titograd up to 1992), with 130,000 inhabitants, Niksic[?] (60,000) and Pljevlja[?] (22,000).
History of Montenegro
List of cities in Montenegro
Geography ...