Puoi aprire il codice e modificare la funzione: vedi l'Help
You can open the Code and modify the function: see the Help
HELP
function f(x) { y = 1/0; return y } aX = -10; bX = 10; aY = -10; bY = 10 Dx = 1; Dy = 1 L1x=[-8,-8,-3, 3, 8, 8,-8] L1y=[-7, 3, 8, 8, 3,-7,-7] LEN=0; NL1=L1x.length for(i=1; i < NL1; i=i+1) {LEN = LEN + Math.sqrt( Math.pow(L1x[i]-L1x[i-1],2)+Math.pow(L1y[i]-L1y[i-1],2) )} document.write("L="+LEN)