Skip to content

Commit

Permalink
Merge pull request #317 from sean-fitzpatrick/ww-fix2
Browse files Browse the repository at this point in the history
WeBWorK errors and typos
  • Loading branch information
sean-fitzpatrick authored Nov 19, 2024
2 parents a610723 + 52168b0 commit 4929075
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions ptx/sec_antider.ptx
Original file line number Diff line number Diff line change
Expand Up @@ -1501,8 +1501,11 @@
if($envir{problemSeed}==1){$fpp=7;$fp0=-1;$f0=10;};
Context("Fraction");
$a = Fraction($fpp,6);
$c = Fraction($f0 - $a - $fp0);
$F = Formula("$a x^3 + $fp0 x + $c");
$a2 = Fraction($fpp,2);
$a3 = Fraction($fpp,3);
$b = Fraction($fp0 - $a2);
$c = Fraction($f0 + $a3 - $fp0);
$F = Formula("$a x^3 + $b x + $c");
</pg-code>
<statement>
<p>
Expand Down
2 changes: 1 addition & 1 deletion ptx/sec_deriv_basic_rules.ptx
Original file line number Diff line number Diff line change
Expand Up @@ -1970,7 +1970,7 @@
parser::Assignment-&gt;Allow;
$f=Formula("$b x + $c")-&gt;reduce;
$k=$f-&gt;eval(x=&gt;$a);
$t=$f;
$t=Formula("y=$f");
$n=Formula("y=-1/$b(x-$a)+$k");
</pg-code>
<statement>
Expand Down

0 comments on commit 4929075

Please sign in to comment.