[ww-bugs] Bug 2472: New: accuracy mismatch between function and numeric answers

bugzilla-daemon at webwork.maa.org bugzilla-daemon at webwork.maa.org
Wed Oct 17 22:28:19 EDT 2012


http://bugs.webwork.maa.org/show_bug.cgi?id=2472

           Summary: accuracy mismatch between function and numeric answers
           Product: Problem libraries
           Version: unspecified
          Platform: PC
               URL: /opt/webwork/courses/AUCIhomework/templates/Library/Lo
                    yolaChicago/Precalc/Chap3Sec4/Q23.pg_with_problemSeed=
                    3054
        OS/Version: Windows
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Library
        AssignedTo: jj at asu.edu
        ReportedBy: cook at alfred.edu
        Web browser Firefox
           version:


For a seed of 3054, the problem reads:
World poultry production was 77.2 million tons in the year 2004 and increasing
at a continuous rate of 1.6% per year. Assume that this growth rate continues. 

The correct answer for the first blank should be 77.2e^(0.016t). However, the
percent is small enough that the answer 77.2(1.016)^t is accepted. In the next
blank, where the student is to plug in 7, the incorrect answer of 77.2(1.016)^7
is correctly marked incorrect.

Changing the checker to
ANS(Compute("$ans_a")->cmp(tolerance=>0.00000001,tolType=>"absolute") );
fixed this particular case.

-- 
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