'); parent.frames[0].document.write('
'); parent.frames[0].document.write('

The problems you missed are listed below with answers / explanations.  Look over the explanation for each problem so you can understand why you missed it!

'); parent.frames[0].document.write('
'); resetdisplay(); for(var i = 0; i <10; i++) { ganswer[i] = prompt(question[i],""); if (ganswer[i] == "quit" || ganswer[i] == "QUIT" || ganswer[i] == "Quit") { break; } q++; if (ganswer[i] == answer[i]) { c++; } else { rightans[i] = 0; w++; } resetdisplay(); } for(var i = 0; i < 10; i++) { if (rightans[i] == 0) { expl = expl + explain[i]; } } parent.frames[0].document.write(expl); parent.frames[0].document.write("
"); } question[0] = 'Solve for x: 2x + 3 = 5'; question[1] = 'Solve for x: 5x + 9 = 19'; question[2] = 'Solve for x: 10x + 8 = 7'; question[3] = 'Solve for y: 5y + 8 = 9'; question[4] = 'Solve for n: 9n + 89 = 100'; question[5] = 'Solve for z: 67z - 45 = 21'; question[6] = 'Solve for t: 12t + 12 = 12'; question[7] = 'Solve for x: 56x - 78 = -22'; question[8] = 'Solve for x: 75x + 89 = 189'; question[9] = 'Solve for x: 50x + 50 = 150'; answer[0] = '1'; answer[1] = '2'; answer[2] = '-1/10'; answer[3] = '1/5'; answer[4] = '11/9'; answer[5] = '66/67'; answer[6] = '0'; answer[7] = '1'; answer[8] = '4/3'; answer[9] = '2'; explain[0] = '#1

2x + 3 = 5
2x + 3 - 3 = 5 - 3
2x = 2
2x / 2 = 2 / 2
x = 1

'; explain[1] = '#2

5x + 9 = 19
5x + 9 - 9 = 19 - 9
5x = 10
5x / 5 = 10 / 5
x = 2

'; explain[2] = '#3

10x + 8 = 7
10x + 8 - 8 = 7 - 8
10x = -1
10x / 10 = -1 / 10
x = -1/10

'; explain[3] = '#4

5y + 8 = 9
5y + 8 - 8 = 9 - 8
5y = 1
5y / 5 = 1 / 5
y = 1/5

'; explain[4] = '#5

9n + 89 = 100
9n + 89 - 89 = 100 - 89
9n = 11
9n / 9 = 11 / 9
n = 11/9

'; explain[5] = '#6

67z - 45 = 21
67z = 66
z = 66/67

'; explain[6] = '#7

12t + 12 = 12
12t = 0
t = 0

'; explain[7] = '#8

56x - 78 = -22
56x = 56
x = 1

'; explain[8] = '#9

75x + 89 = 189
75x = 100
x = 4/3

'; explain[9] = '#10

50x + 50 = 150
50x = 100
x = 2

'; rightans[0] = 1; rightans[1] = 1; rightans[2] = 1; rightans[3] = 1; rightans[4] = 1; rightans[5] = 1; rightans[6] = 1; rightans[7] = 1; rightans[8] = 1; rightans[9] = 1; //-->