Skip to content

Commit 96c436c

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Context("Numeric");
5858
Context("Numeric")->variables->add(y=>'Real');
5959
Context()->noreduce('(-x)-y','(-x)+y');
6060
parser::Assignment->Allow;
61-
$ansSI=Formula("y=$b")->reduce;
61+
$ansSI=Compute("y=$b")->reduce;
6262

6363
$xmin = -5;
6464
$xmax = -$xmin;
@@ -134,7 +134,7 @@ Context()->normalStrings;
134134

135135
##############################################
136136

137-
ANS(Compute($ansSI)->cmp());
137+
ANS($ansSI->cmp());
138138

139139
$grCorrect = init_graph($xmin,$ymin,$xmax,$ymax,
140140
axes=>[0,0],

0 commit comments

Comments
 (0)