\title{Combinación}
\language{en}
\range{-5..5}
\author{Gang XIAO}
\email{xiao@unice.fr}
\computeanswer{no}
\format{html}
\precision{10000}

\integer{mid=8}
\integer{range=\mid*2}
\integer{a1=2*random(-\mid..\mid-2)+1}
\integer{b1=2*random(-\mid..\mid)}
\integer{a2=random(-\range..\range)}
\integer{b2=2*random(-\mid..\mid-2)+1}
\integer{a=random(2..\range)*random(-1,1)}
\integer{b=random(2..\range)*random(-1,1)}
\text{combi=htmlmath(\a*v1 + \b*v2)}
\integer{A=\a1*\a+\a2*\b}
\integer{B=\b1*\a+\b2*\b}

\statement{Sean
<p><center>
v<sub>1</sub> = (\a1,\b1) ,
v<sub>2</sub> = (\a2,\b2)
</center> <p>
dos vectores del plano. Hallar el vector
<p><center>
	v = \combi .
</center> <p>
}

\answer{v}{\A,\B}{type=vector}