[npl] / trunk / NationalProblemLibrary / ASU-topics / set119LPGraphical / p11.pg Repository: Repository Listing bbplugincoursesdistsnplrochestersystemwww

# Diff of /trunk/NationalProblemLibrary/ASU-topics/set119LPGraphical/p11.pg

Revision 267 Revision 268
32"PGgraphmacros.pl", 32"PGgraphmacros.pl",
33"PGasu.pl", 33"PGasu.pl",
35); 35);
36 36
37TEXT(&beginproblem); 37TEXT(beginproblem());
38 38
39 39
40\$a = random(2,10,2); 40\$a = random(2,10,2);
41\$b = random(2*\$a,20); 41\$b = random(2*\$a,20);
42\$f = floor(\$b/\$a)-1; 42\$f = floor(\$b/\$a)-1;
71 71
72\$xs = \$b/\$m; 72\$xs = \$b/\$m;
73\$ys = \$m*\$a; 73\$ys = \$m*\$a;
74 74
75\$ans = "bounded"; 75\$ans = "bounded";
76ANS(std_str_cmp(\$ans)); 76ANS(str_cmp(\$ans));
77ANS(interval_cmp( "(\$a,\$b), (\$xs,\$b),(\$a,\$ys)", unions=>'no', strings=>["none"])); 77ANS(interval_cmp( "(\$a,\$b), (\$xs,\$b),(\$a,\$ys)", unions=>'no', strings=>["none"]));
78 78
79 79
80ENDDOCUMENT(); # This should be the last executable line in the problem. 80ENDDOCUMENT(); # This should be the last executable line in the problem.
81 81

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