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

The function x → xx, continuous when x > 0.
When x < 0 it is defined only if x = -M/N with M and N positive integers and N not multiple of 2.
The two red sets are "dense" but not "continuous".   Examples:
(-5/3)^(-5/3) = (-5/3)^(-1)^(5/3) = (-3/5)^(5/3) = -(3/5)^(5/3) = -0.426827196...
(-2/3)^(-2/3) = (-2/3)^(-1)^(2/3) = (-3/2)^(2/3) = (3/2)^(2/3) = 1.31037069...

function POT(a,m,n) {if(-m/2 == Math.floor(-m/2)) {y = Math.pow(Math.pow(-a,m),1/n)} else {y = -Math.pow(Math.pow(-a,m),1/n)}; return y}
// il grafico e' tracciato con l'ultima riga del programma / the graph is drawn by means of the last line of the program

function f(x) { y =  Math.pow(x,x); return y }

// the last line
cx.strokeStyle="red"
for(n=1; n<=100; n=n+1) {for(m=1; m<=2*n; m=m+1) {cx.strokeRect( X(-m/n)-0.05, Y(POT(-m/n,-m,n))-0.05, fline*0.1, fline*0.1)}}