symbolicresponse.xml 1.18 KB
Newer Older
ichuang committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
<problem>
<text>
<h2>Example: Symbolic Math Response Problem</h2>

<p>
A symbolic math response problem presents one or more symbolic math
input fields for input.  Correctness of input is evaluated based on
the symbolic properties of the expression entered.  The student enters
text, but sees a proper symbolic rendition of the entered formula, in
real time, next to the input box.
</p>

<p>This is a correct answer which may be entered below: </p>
<p><tt>cos(theta)*[[1,0],[0,1]] + i*sin(theta)*[[0,1],[1,0]]</tt></p>

  <text>Compute [mathjax] U = \exp\left( i \theta \left[ \begin{matrix} 0 &amp; 1 \\ 1 &amp; 0 \end{matrix} \right] \right) [/mathjax]
      and give the resulting \(2 \times 2\) matrix. <br/>
      Your input should be typed in as a list of lists, eg <tt>[[1,2],[3,4]]</tt>. <br/>
19
       [mathjax]U=[/mathjax] <symbolicresponse cfn="symmath_check" answer="[[cos(theta),i*sin(theta)],[i*sin(theta),cos(theta)]]" options="matrix,imaginary" id="filenamedogi0VpEBOWedxsymmathresponse_1" state="unsubmitted">
20 21 22
          <textline size="80" math="1" response_id="2" answer_id="1" id="filenamedogi0VpEBOWedxsymmathresponse_2_1"/>
        </symbolicresponse>
      <br/>
ichuang committed
23 24 25 26
  </text>

</text>
</problem>