# [LON-CAPA-users] square roots in formula response

Justin Gray lon-capa-users@mail.lon-capa.org
Mon, 3 Sep 2007 10:00:37 -0800

------=_Part_17315_5616333.1188842437102
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Does anyone know a more elegant way to write the problem below?

Thanks,
Justin

<problem>
<startouttext />Rationalize the denominator and simplify:<p></p><br></br>
Use sqrtm for <m display = jsmath>$\sqrt{m}</m>.<p></p> <table> <tr> <td><m display="jsMath">\, \, \, \,$m - 4$</m></td> <td></td> <td><endouttext /> <formularesponse samples="m,sqrtm@-3,-3:3,3#5" answer="(m - 4)(sqrtm + 4)" id="11"> <textline readonly="no" size="20" /> </formularesponse><startouttext /></td> </tr> <tr> <td><hr width="60"></hr></td> <td><m display="jsMath">$\mbox{ } = \mbox{
}$</m></td> <td><hr width="140"></hr></td> </tr> <tr> <td><m display="jsMath">$\sqrt{m} - 4$</m></td> <td></td> <td><endouttext /> <formularesponse samples="m@-3:3#5" answer="m - 16" id="12"> <textline readonly="no" size="20" /> </formularesponse><startouttext /></td> </tr> </table><p></p><endouttext /> </problem> -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Justin Gray Tel. 778-782-4237 Dept. of Mathematics Fax. 778-782-4947 Simon Fraser University 8888 University Drive Burnaby, B.C. V5A 1S6 Canada ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------=_Part_17315_5616333.1188842437102 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Does anyone know a more elegant way to write the problem below? <br><br>Thanks,<br>Justin<br><br>&lt;problem&gt;<br>&lt;startouttext /&gt;Rationalize the denominator and simplify:&lt;p&gt;&lt;/p&gt;&lt;br&gt;&lt;/br&gt;<br> Use sqrtm for &lt;m display = jsmath&gt;$\sqrt{m}&lt;/m&gt;.&lt;p&gt;&lt;/p&gt;<br>&lt;table&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&lt;tr&gt;<br>&nbsp;&nbsp;&nbsp; &lt;td&gt;&lt;m display=&quot;jsMath&quot;&gt;\, \, \, \, $m - 4$&lt;/m&gt;&lt;/td&gt; &lt;td&gt;&lt;/td&gt; &lt;td&gt;&lt;endouttext /&gt;
<br>&lt;formularesponse samples=&quot;m,sqrtm@-3,-3:3,3#5&quot; answer=&quot;(m - 4)(sqrtm + 4)&quot; id=&quot;11&quot;&gt;<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &lt;textline readonly=&quot;no&quot; size=&quot;20&quot; /&gt;<br>&nbsp;&nbsp;&nbsp; <br>&lt;/formularesponse&gt;&lt;startouttext /&gt;&lt;/td&gt;
<br>&lt;/tr&gt;<br>&lt;tr&gt;<br>&nbsp;&nbsp;&nbsp; &lt;td&gt;&lt;hr width=&quot;60&quot;&gt;&lt;/hr&gt;&lt;/td&gt; &lt;td&gt;&lt;m display=&quot;jsMath&quot;&gt;$\mbox{ } = \mbox{ }$&lt;/m&gt;&lt;/td&gt; &lt;td&gt;&lt;hr width=&quot;140&quot;&gt;&lt;/hr&gt;&lt;/td&gt;
<br>&lt;/tr&gt; <br>&lt;tr&gt;<br>&nbsp;&nbsp;&nbsp; &lt;td&gt;&lt;m display=&quot;jsMath&quot;&gt;$\sqrt{m} - 4$&lt;/m&gt;&lt;/td&gt; &lt;td&gt;&lt;/td&gt; &lt;td&gt;&lt;endouttext /&gt;<br>&lt;formularesponse samples=&quot;m@-3:3#5&quot; answer=&quot;m - 16&quot; id=&quot;12&quot;&gt;
<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &lt;textline readonly=&quot;no&quot; size=&quot;20&quot; /&gt;<br>&nbsp;&nbsp;&nbsp; <br>&lt;/formularesponse&gt;&lt;startouttext /&gt;&lt;/td&gt;<br>&lt;/tr&gt;<br>&lt;/table&gt;&lt;p&gt;&lt;/p&gt;&lt;endouttext /&gt;<br>
&lt;/problem&gt;<br><br clear="all"><br>-- <br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>Justin Gray&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tel. 778-782-4237<br>Dept. of Mathematics&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Fax. 778-782-4947
<br>Simon Fraser University<br>8888 University Drive<br>Burnaby, B.C. V5A 1S6<br>Canada<br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

------=_Part_17315_5616333.1188842437102--