Sampling Method: lecture 3 and lecture 4
Input:
The sample size you want:
The initial value of x:
The initial value of y:

Output:
The sample from f(x, y) with size:
are:

Back to main page

Note:
  • When the sample size is large, you may need more sampling time.
    Sample from f(x, y)=C /(1 + y^2*sqrt(x)), 0<x<1, y real Sampling Method: lecture 3 and lecture 4
    Input:
    The sample size you want:
    The initial value of x:
    The initial value of y:

    Output:
    The sample from f(x, y) with size:
    are:

    Back to main page

    Note:
  • When the sample size is large, you may need more sampling time.