Functions such as Math.pow(base,raiseto) are not in Google Sheets Apps Script. Any suggestions excepting writing our own code lines? Tried several variations: Math.POW(a,b), Math.power(),
a^b, pow(a,b), etc.
Finally managed with a for loop;
S=Ra;
for (var counter=1; counter <= N; counter=counter+1){
S=S*Ra;
}

