| … | |
… | |
| 25 | "PGchoicemacros.pl", |
25 | "PGchoicemacros.pl", |
| 26 | "PGanswermacros.pl", |
26 | "PGanswermacros.pl", |
| 27 | "PGauxiliaryFunctions.pl" |
27 | "PGauxiliaryFunctions.pl" |
| 28 | ); |
28 | ); |
| 29 | |
29 | |
| 30 | TEXT(&beginproblem); |
30 | TEXT(beginproblem()); |
| 31 | $showPartialCorrectAnswers = 1; |
31 | $showPartialCorrectAnswers = 1; |
| 32 | |
32 | |
| 33 | |
33 | |
| 34 | TEXT(EV2(<<EOT)); |
34 | TEXT(EV2(<<EOT)); |
| 35 | $BBOLD Click on the graph to view a larger graph$EBOLD |
35 | $BBOLD Click on the graph to view a larger graph$EBOLD |
| … | |
… | |
| 50 | $ans1="3/sqrt(34)"; |
50 | $ans1="3/sqrt(34)"; |
| 51 | $ans2="3/5"; |
51 | $ans2="3/5"; |
| 52 | |
52 | |
| 53 | $ans3="sqrt(34)/5"; |
53 | $ans3="sqrt(34)/5"; |
| 54 | |
54 | |
| 55 | &ANS(std_num_cmp($ans1)); |
55 | ANS(num_cmp($ans1)); |
| 56 | &ANS(std_num_cmp($ans1)); |
56 | ANS(num_cmp($ans1)); |
| 57 | &ANS(std_num_cmp($ans2)); |
57 | ANS(num_cmp($ans2)); |
| 58 | &ANS(std_num_cmp($ans2)); |
58 | ANS(num_cmp($ans2)); |
| 59 | &ANS(std_num_cmp($ans3)); |
59 | ANS(num_cmp($ans3)); |
| 60 | &ANS(std_num_cmp($ans3)); |
60 | ANS(num_cmp($ans3)); |
| 61 | |
61 | |
| 62 | ENDDOCUMENT(); # This should be the last executable line in the problem. |
62 | ENDDOCUMENT(); # This should be the last executable line in the problem. |