We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11b01a9 commit 8a17b1bCopy full SHA for 8a17b1b
OpenProblemLibrary/AlfredUniv/anton8e/chapter2/2.4/prob3.pg
@@ -43,7 +43,7 @@ Context()->{format}{number} = "";
43
## $x1 is the point where we will estimate the derivative.
44
$x1 = random(.001, .01,.0001);
45
$epsilon = random(.0001,.0004,.00001);
46
-$answertolerance = 0.00001;
+$answertolerance = Real(0.00001);
47
# check inputs_ref to see if the student modified $dh, otherwise we set it to
48
## 0.0001.
49
if (defined( ${$inputs_ref}{'dh'}) ) {
@@ -53,7 +53,7 @@ else {
53
$dh = .0001
54
}
55
56
-## Define the function f and it's derivative
+## Define the function f and its derivative
57
$f = Formula("x^2+x");
58
$f->perlFunction(f1);
59
$dfdx = $f->D('x');
0 commit comments