\title	{Determinante y traza 2x2}
\author	{XIAO Gang}
\email	{xiao@unice.fr}
\format	{tex}

\integer{range=20}
\integer{a11=random(-\range..\range)}
\integer{a12=random(-\range..\range)}
\integer{a21=random(-\range..\range)}
\integer{a22=random(-\range..\range)}
\integer{trace=(\a11)+(\a22)}
\integer{deter=(\a11)*(\a22)-(\a12)*(\a21)}

\statement{Calcular el determinante y la traza de la matriz
 $$ A=\pmatrix{\a11&\a12\cr \a21&\a22}. $$}
\answer	{Traza(A)}{\trace}
\answer {Det(A)}  {\deter} 