Parent Directory
|
Revision Log
Revision 101 - (view) (download)
| 1 : | jjholt | 101 | ## DESCRIPTION |
| 2 : | ## Matrix Algebra | ||
| 3 : | ## ENDDESCRIPTION | ||
| 4 : | jj | 61 | |
| 5 : | jjholt | 101 | ## KEYWORDS('Algebra' 'Matrix' 'Matrices' 'True' 'False') |
| 6 : | ## Tagged by tda2d | ||
| 7 : | |||
| 8 : | ## DBsubject('Algebra') | ||
| 9 : | ## DBchapter('Linear Algebra') | ||
| 10 : | ## DBsection('Matrix Algebra') | ||
| 11 : | ## Date('') | ||
| 12 : | ## Author('') | ||
| 13 : | ## Institution('ASU') | ||
| 14 : | ## TitleText1('') | ||
| 15 : | ## EditionText1('') | ||
| 16 : | ## AuthorText1('') | ||
| 17 : | ## Section1('') | ||
| 18 : | ## Problem1('') | ||
| 19 : | |||
| 20 : | jj | 61 | DOCUMENT(); # This should be the first executable line in the problem. |
| 21 : | |||
| 22 : | loadMacros( | ||
| 23 : | "PG.pl", | ||
| 24 : | "PGbasicmacros.pl", | ||
| 25 : | "PGchoicemacros.pl", | ||
| 26 : | "PGanswermacros.pl", | ||
| 27 : | "PGauxiliaryFunctions.pl", | ||
| 28 : | "PGmatrixmacros.pl", | ||
| 29 : | "PGasu.pl", | ||
| 30 : | ); | ||
| 31 : | |||
| 32 : | TEXT(&beginproblem); | ||
| 33 : | $showPartialCorrectAnswers = 1; | ||
| 34 : | |||
| 35 : | $m = random(2,5); | ||
| 36 : | |||
| 37 : | do {$n = random(2,9);} until ($n != $m); | ||
| 38 : | do {$r = random(2,9);} until ($r != $m & $r != $n); | ||
| 39 : | |||
| 40 : | |||
| 41 : | |||
| 42 : | BEGIN_TEXT | ||
| 43 : | If A is \( $m \times $n, \) B is \( $r \times $m \) and C is \( $n \times $r \) then: | ||
| 44 : | $BR | ||
| 45 : | a) BA has dimension $SPACE \{ans_rule(8)\} \( \times \) \{ans_rule(8)\} | ||
| 46 : | $BR | ||
| 47 : | b) CB has dimension $SPACE \{ans_rule(8)\} \( \times \) \{ans_rule(8)\} | ||
| 48 : | $BR | ||
| 49 : | c) AC has dimension $SPACE \{ans_rule(8)\} \( \times \) \{ans_rule(8)\} | ||
| 50 : | |||
| 51 : | END_TEXT | ||
| 52 : | |||
| 53 : | ANS(num_cmp($r)); ANS(num_cmp($n)); | ||
| 54 : | ANS(num_cmp($n)); ANS(num_cmp($m)); | ||
| 55 : | ANS(num_cmp($m)); ANS(num_cmp($r)); | ||
| 56 : | |||
| 57 : | ENDDOCUMENT(); # This should be the last executable line in the problem. |
| aubreyja at gmail dot com | ViewVC Help |
| Powered by ViewVC 1.0.9 |