[npl] / trunk / NationalProblemLibrary / ASU-topics / setAntiderivatives / 6-1-29.pg Repository:
ViewVC logotype

Diff of /trunk/NationalProblemLibrary/ASU-topics/setAntiderivatives/6-1-29.pg

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

Revision 267 Revision 268
25"PGchoicemacros.pl", 25"PGchoicemacros.pl",
26"PGanswermacros.pl", 26"PGanswermacros.pl",
27"PGauxiliaryFunctions.pl" 27"PGauxiliaryFunctions.pl"
28); 28);
29 29
30TEXT(&beginproblem); 30TEXT(beginproblem());
31$showPartialCorrectAnswers = 1; 31$showPartialCorrectAnswers = 1;
32 32
33$a = random(2,8,1); 33$a = random(2,8,1);
34$b = random(3,7,1); 34$b = random(3,7,1);
35 35
46$BR 46$BR
47 47
48EOT 48EOT
49 49
50$ans = "$a*exp(x) + $b*x"; 50$ans = "$a*exp(x) + $b*x";
51&ANS(function_cmp_up_to_constant($ans,"x")); 51ANS(fun_cmp($ans, mode=>"antider", vars=>"x"));
52 52
53ENDDOCUMENT(); 53ENDDOCUMENT();

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

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9