forked from kisonecat/git-pull-test
-
Notifications
You must be signed in to change notification settings - Fork 1
/
unit4.tex
41 lines (31 loc) · 775 Bytes
/
unit4.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
\documentclass{ximera}
%% handout
%% nohints
\title{Unit 4 includes a matrix and free response}
\begin{document}
\begin{abstract}
Matrices and vectors are valid answer types.
\end{abstract}
%\begin{question}
How would you explain why $xy$ is equal to $yx$?
%\begin{solution}
\begin{free-response}
Think about a rectangle; then rotate it 90 degrees.
\end{free-response}
%\end{solution}
%\end{question}
\begin{exercise}
Let's think about $\vec{v}$ and a matrix $M$. Write down any $2
\times 2$ matrix.
\begin{solution}
Here is the matrix.
\begin{matrix-answer}[name=M]
function validator(m) {
console.log( "validating ", m );
return m[0][0].v == '17';
}
\end{matrix-answer}
After the matrix answer.
\end{solution}
\end{exercise}
\end{document}