[npl] / trunk / NationalProblemLibrary / ASU-topics / setProductQuotientRule / 5-2-15.pg Repository:
ViewVC logotype

Diff of /trunk/NationalProblemLibrary/ASU-topics/setProductQuotientRule/5-2-15.pg

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 101 Revision 268
26"PGchoicemacros.pl", 26"PGchoicemacros.pl",
27"PGanswermacros.pl", 27"PGanswermacros.pl",
28"PGauxiliaryFunctions.pl" 28"PGauxiliaryFunctions.pl"
29); 29);
30 30
31TEXT(&beginproblem); 31TEXT(beginproblem());
32$showPartialCorrectAnswers = 1; 32$showPartialCorrectAnswers = 1;
33 33
34$a = random(2,20,1); 34$a = random(2,20,1);
35 35
36TEXT(EV2(<<EOT)); 36TEXT(EV2(<<EOT));
43$BR 43$BR
44 44
45EOT 45EOT
46 46
47$ans = (1-$a*log(2))/2**($a+1); 47$ans = (1-$a*log(2))/2**($a+1);
48&ANS(std_num_cmp($ans)); 48ANS(num_cmp($ans));
49 49
50ENDDOCUMENT(); 50ENDDOCUMENT();

Legend:
Removed from v.101  
changed lines
  Added in v.268

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9