Puoi aprire il codice e modificare la funzione: vedi l'Help
You can open the Code and modify the function: see the Help
HELP

// ---- f blue, g green  ----

function f(x) { y = 1/(x+1); return y }
function g(x) { y = 3/x; return y }

aX = -3; bX = 3; aY = -5; bY = 5
Dx = 1; Dy = 1

xx=[-1]
i=0
for(j=0;j<5e4;j=j+1) {xp=Math.random()*(bX-aX)+aX; yp=Math.random()*(bY-aY)+aY
                  if( yp < g(xp) && yp > f(xp) ) {QQ1x[i]=xp; QQ1y[i]=yp; i=i+1} }