Line 1: | Line 1: | ||
We create a variables : | We create a variables : | ||
− | <math>A ~ exp(1/2) | + | <math>A ~ exp(1/2) |
+ | |||
w ~ unif[0, 2\pi]<math> | w ~ unif[0, 2\pi]<math> | ||
Line 7: | Line 8: | ||
then let : | then let : | ||
− | <math>X = \sqrt(A)cos(w) | + | <math>X = \sqrt(A)cos(w) |
+ | |||
Y = \sqrt(A)sin(w)</math> | Y = \sqrt(A)sin(w)</math> |
Revision as of 16:53, 20 October 2008
We create a variables :
$ A ~ exp(1/2) w ~ unif[0, 2\pi]<math> then let : <math>X = \sqrt(A)cos(w) Y = \sqrt(A)sin(w) $