Example: Symbolic Math Response Problem

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.

This is a correct answer which may be entered below:

cos(theta)*[[1,0],[0,1]] + i*sin(theta)*[[0,1],[1,0]]

Compute [mathjax] U = \exp\left( i \theta \left[ \begin{matrix} 0 & 1 \\ 1 & 0 \end{matrix} \right] \right) [/mathjax] and give the resulting \(2 \times 2\) matrix.
Your input should be typed in as a list of lists, eg [[1,2],[3,4]].
[mathjax]U=[/mathjax]