\title	{Solución cuadrática 2x2}
\language{en}
\author	{XIAO Gang}
\email	{xiao@unice.fr}
\format	{tex}
\range  {-5..5}
\precision{10000}

\text{X=A}
\text{I=I}
\integer{a=random(2..8)*random(-1,1)}
\integer{b=random(2..8)*random(-1,1)}
\integer{c=random(1..8)*random(-1,1)}
\text{bb=\b>0?+\b:\b}
\text{cc=\c>0?+\c:\c}

\statement{Encontrar una matriz $A=\pmatrix{a&b\cr c&d}$
que verifique la ecuación $\X^2\bb\X\cc\I=0$, con
$a, b, c, d$ no nulas.
}
\answer	{<i>a</i>}  {\A}
\answer	{<i>b</i>}  {\B}
\answer	{<i>c</i>}  {\C}
\answer	{<i>d</i>}  {\D}

\condition{A con esos valores verifica la ecuación}
{\A+(\D)=-(\b) and (\A)*(\D)-(\B)*(\C)=\c}

\condition{a,b,c,d son enteros no nulos}
{\A*(\B)*(\C)*(\D)!=0 and floor(\A)=\A and floor(\B)=\B and
floor(\C)=\C and floor(\D)=\D}
