[ww-bugs] Bug 4366: New: Missing parentheses cause incorrect answers
bugzilla-daemon at webwork.maa.org
bugzilla-daemon at webwork.maa.org
Thu Oct 3 17:32:23 EDT 2019
http://bugs.webwork.maa.org/show_bug.cgi?id=4366
Summary: Missing parentheses cause incorrect answers
Product: Problem Libraries
Version: unspecified
Platform: PC
URL: /opt/webwork/courses/Math-316-Ho-f19/templates/Library
/AlfredUniv/diffeq/constantcoefficient/auxiliary4.pg_w
ith_problemSeed=3432
OS/Version: Windows
Status: NEW
Severity: enhancement
Priority: P5
Component: Library (OPL)
AssignedTo: gjennings at csudh.edu
ReportedBy: sflood at alumni.nd.edu
Web browser ---
version:
With seed 3432
the problem produces incorrect (complex) solutions. Adding parentheses seems
to resolve the issue.
$roots =
List(Compute("(-($b)-sqrt(($b)^2-4*($c)))/(2)"),Compute("(-($b)+sqrt(($b)^2-4*($c)))/(2)"));
--
Configure bugmail: http://bugs.webwork.maa.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the webwork-bugs
mailing list