var x;
var answerTau = -2;
for(x = 0, x < 8, x++ ){
var firstPart = r2 / (r1 + r2);
var expPow = -x/answerTau;
var secondPart = Math.exp(expPow);
var answerH = firstPart*secondPart;
alert(firstPart);
alert(expPow);
alert(secondPart);
alert(answerH);
};
SyntaxError: missing ; after for-loop initializer
for(x = 0, x < 8, x++ ){