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

The problems you missed are listed below with answers and 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 <5; 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] = 'If adding matrices of the same dimensions, will the answer have the dimension of the matrices?'; question[1] = 'When multiplying do matrices need to be the same dimensions?'; question[2] = 'Can you multiply a matrix by something other than another matrix?'; question[3] = 'Can you subtract matrices?'; question[4] = 'When adding matrices, do you add different positions together?'; answer[0] = 'yes'; answer[1] = 'no'; answer[2] = 'yes'; answer[3] = 'yes'; answer[4] = 'no'; explain[0] = '#1

While Multiplication and Division functions of Matrices result in a Matrix that is not necessarily the same dimensions, Adding and Subtraction functions will result with a matrix of the same dimension.


'; explain[1] = '#2

When Multiplying Matrices, they usually are not of the same dimensions. You can not always multiply Matices of the same dimensions.


'; explain[2] = '#3

Matrices can be multiplied by variables or constants. It results in each term being multiplied.


'; explain[3] = '#4

Just as Matrices can be added, they can also be subtracted, the process is the same as adding.


'; explain[4] = '#5

Matrices do not add different positions together during an addition function.


'; rightans[0] = 1; rightans[1] = 1; rightans[2] = 1; rightans[3] = 1; rightans[4] = 1; //-->