\title	{Producto de dos matrices 2x2}
\author	{XIAO Gang}
\email	{xiao@unice.fr}
\format	{tex}

\integer{range=20}
\integer{a1=random(-\range..\range)}
\integer{b1=random(-\range..\range)}
\integer{c1=random(-\range..\range)}
\integer{d1=random(-\range..\range)}
\integer{a2=random(-\range..\range)}
\integer{b2=random(-\range..\range)}
\integer{c2=random(-\range..\range)}
\integer{d2=random(-\range..\range)}
\integer{a3=(\a1)*(\a2)+(\b1)*(\c2)}
\integer{b3=(\a1)*(\b2)+(\b1)*(\d2)}
\integer{c3=(\c1)*(\a2)+(\d1)*(\c2)}
\integer{d3=(\c1)*(\b2)+(\d1)*(\d2)}

\statement{Resolver el producto de matrices:
 $$ \pmatrix{\a1&\b1\cr\c1&\d1\cr} 
 \pmatrix{\a2&\b2\cr\c2&\d2\cr} =
 \pmatrix{a&b\cr c&d\cr} .$$}
\answer{a=\a3}
\answer{b=\b3}
\answer{c=\c3}
\answer{d=\d3}
