Skip to content

Commit 594bd1c

Browse files
committed
Use Compute not Formula in answer
1 parent 96c436c commit 594bd1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

OpenProblemLibrary/PCC/BasicAlgebra/SlopeAndY-InterceptCalculations/WriteEquationByGraph60.pg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ $pt2=Compute("($x2,$y2)");
5656
Context("Numeric");
5757
Context()->noreduce('(-x)-y','(-x)+y');
5858
parser::Assignment->Allow;
59-
$ansSI=Formula("x=$a")->reduce;
59+
$ansSI=Compute("x=$a")->reduce;
6060

6161
$xmin = -5;
6262
$xmax = -$xmin;
@@ -120,7 +120,7 @@ Context()->normalStrings;
120120

121121
##############################################
122122

123-
ANS(Compute($ansSI)->cmp());
123+
ANS($ansSI->cmp());
124124

125125
$grCorrect = init_graph($xmin,$ymin,$xmax,$ymax,
126126
axes=>[0,0],

0 commit comments

Comments
 (0)