Puoi aprire il codice e modificare la funzione: vedi l'Help
You can open the Code and modify the function: see the Help
HELP
Una curva in coordinate polari R = f(A) [R raggio, A angolo in radianti] può essere
descritta con le equazioni parametriche x = cos(A)*f(A), y = sin(A)*f(A)
aX = -3; bX = 3; aY = -3; bY = 3 Dx = 1; Dy = 1 E=1; function RO(a) { z = 1/(1+E*Math.cos(a)); return z } function XX(t) {x= Math.cos(t)*RO(t); if(Ix(x)<1){x=1/0}; return x} function YY(t) {y= Math.sin(t)*RO(t); if(Iy(y)<1){y=1/0}; return y}; t1=0; t2=6.3 for(j=0;j<=5e3;j=j+1) {t=t1+(t2-t1)/5e3*(j-1);Lx[j]=XX(t);Ly[j]=YY(t)} E=2; C1="red" for(j=0;j<=5e3;j=j+1) {t=t1+(t2-t1)/5e3*(j-1);L1x[j]=XX(t);L1y[j]=YY(t)} E=1/2; C2="green" for(j=0;j<=5e3;j=j+1) {t=t1+(t2-t1)/5e3*(j-1);L2x[j]=XX(t);L2y[j]=YY(t)}