function name(A,B) {
var th = [0.0,1.0,0.0,0.0,0.0,0.0];
while (th[0] < B) {
th[4] = 0.0;
while (th[4] < A) {
th[2] = th[3];
th[3] += th[1];
th[4] = th[3] * th[3];
}
th[3] = th[2];
th[1] *= 0.1;
th[0] += 1;
}
return th[3]
}
console.log(""+name(2,10));
To embed this project on your website, copy the following code and paste it into your website's HTML: