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,i) { y =  Math.sin( (2*i+1)*x ) / (2*i+1); return y}

function f(x) { y = 0; for(ii=0; ii<=0; ii=ii+1) {y=y+F(x,ii)}; return y*4/Math.PI }
function g(x) { y = 0; for(ii=0; ii<=1; ii=ii+1) {y=y+F(x,ii)}; return y*4/Math.PI }
function h(x) { y = 0; for(ii=0; ii<=2; ii=ii+1) {y=y+F(x,ii)}; return y*4/Math.PI }
function k(x) { y = 0; for(ii=0; ii<=100; ii=ii+1) {y=y+F(x,ii)}; return y*4/Math.PI }

aX = -5; bX = 10; aY = -1.5; bY = 1.5
Dx = 1; Dy = 1/2