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 = Math.sin(x)+2; return y }

aX = -5; bX = 5; aY = -2; bY = 4
Dx = 1; Dy = 1

// QQ1x, QQ1y  very little light red

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