<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.6000.16850" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#000000 size=2>I believe I asked about this question before and made changes so that it would extract the user's response and plug it into a formula to see if both sides are equal.  Unfortunately the question produces a weird error sometimes when calculating the solution.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I can't tell what is causing the error.  It works with other negative solutions.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><STRONG>ERROR: </STRONG>Computer's answer is incorrect ("-1.24"). It is likely that the tolerance range [-1.24200376392202, -1.24000376392203] needs to be adjusted.<BR>This error occurred while processing response 1_7 in part 0</DIV>
<DIV> </DIV>
<DIV>The answer to the question is correct:</DIV>
<DIV>Solve for $x$<SPAN class=typeset alt="x"><NOBR><SPAN class=scale><SPAN class=blank style="VERTICAL-ALIGN: -0.05em; HEIGHT: 0.57em"></SPAN></SPAN></NOBR></SPAN> to the nearest hundredth where $<SPAN class="">6^{3 x} = 9^{-4 x - 8}$</SPAN></DIV>
<DIV><SPAN class=""></SPAN> </DIV>
<DIV><SPAN class=""><problem><BR><script type="loncapa/perl"><BR>$base1 = &random(2,9,1);<BR>do {<BR>   $base2 = &random(2,9,1);<BR>} while ($base1==$base2);</SPAN></DIV>
<DIV><SPAN class="">$a = &random(2,3,1);<BR>$b = &random(-7,-4,1);<BR>$c = &random(1,10,1);</SPAN></DIV><SPAN class="">
<DIV><BR>if (&random(0,1,1)) {<BR>  $power1 = "$a x";<BR>  $power2 = "$b x - $c";</DIV>
<DIV>  $power1maxima = "$a * x";<BR>  $power2maxima = "$b * x - $c";<BR>} else {<BR>  $power1 = "$a x + $c";<BR>  $power2 = "$b x";</DIV>
<DIV>  $power1maxima = "$a * x + $c";<BR>  $power2maxima = "$b * x";<BR>}</DIV>
<DIV><BR>$solution = &cas('maxima',"float(solve(($power1maxima)*log($base1) = ($power2maxima)*log($base2),x))");<BR>$solution=~/\=\s*(.+)\s*\]/;<BR>$answer=$1;<BR></script><BR><startouttext />Solve for <m>$x$</m> to the nearest hundredth where <m eval='on'>\[$base1^{$power1} = $base2^{$power2}\]</m></DIV>
<DIV><br /><endouttext /><BR><numericalresponse answer="$answer" format="2F"><BR><responseparam name="tol" type="tolerance" description="Numerical Tolerance" default="0.001" /></DIV>
<DIV>    <textline readonly="no" /><BR>  <BR></numericalresponse><BR></problem></SPAN></DIV></BODY></HTML>