[ww-bugs] Bug 3465: New: Answer error, include two solutions

bugzilla-daemon at webwork.maa.org bugzilla-daemon at webwork.maa.org
Fri Sep 25 18:23:15 EDT 2015


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

           Summary: Answer error, include two solutions
           Product: Problem libraries
           Version: unspecified
          Platform: PC
               URL: Library/Utah/AP_Calculus_I/set7_Trigonometric_Function
                    s/1210s4p17.pg
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Library (OPL)
        AssignedTo: jj at asu.edu
        ReportedBy: edwin.florez at upr.edu
        Web browser ---
           version:


Path: Library/Utah/AP_Calculus_I/set7_Trigonometric_Functions/1210s4p17.pg

Hello, my son found drawbacks typing the solution of this problem, I checked
the code and where is

$ans=Formula("sin(x^$b)^$a/sqrt(x^4+1)+sin(x^$b)^$a*$a*cos(x^$b)*x^$b*$b/(sin(x^$b)*sqrt(x^4+1))-2*x^4*sin(x^$b)^$a/sqrt{(x^4+1)^3}");

it should go

$ans=Formula("sin(x^$b)^$a/sqrt(x^$c+1)+sin(x^$b)^$a*$a*cos(x^$b)*x^$b*$b/(sin(x^$b)*sqrt(x^$c+1))-$c/2*x^$c*sin(x^$b)^$a/sqrt{(x^$c+1)^3}");.

But, I will prefer to use the property derivative of Formula MathObject. Then
the main part of the problem will be

...
$f=Formula("x*sin(x^$b)^$a/sqrt(x^$c+1)");

Context()->texStrings;
BEGIN_TEXT
Find  \( f'\), given

\[ f(x) = $f \]

$BR $BR 
\( f'( x ) =\)\{ans_rule(100) \}

END_TEXT
Context()->normalStrings;

ANS($f->D()->cmp());
...


Best,

Edwin F.

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