<div class="exemple">    



\def{ integer a=randint(-3..3)}
\def{ integer b=randint(-3..3)}
\def{ integer c=randint(-3..3)}
\def{ integer d=randint(-3..3)}
\def{ integer e=randint(-3..3)}
\def{ integer f=randint(-3..3)}
\def{function g=maxima(expand(\a*x^2+\b*y^2+\c*z^2+2*\d*x*y+2*\e*y*z+2*\f*x*z))}
\def{
matrix A1=[\a,\d,\f
\d,\b,\e
\f,\e,\c]}
Soit \(Q : \RR^3  \to \RR), la forme quadratique dfinie pour \(v = (x , y , z)) par
<center>\(Q(v) = \g )  </center>
 
Sa matrice dans la base canonique est  donne par <p align="center">\(A=\A1).
<a name="exemple2">

\reload{Renouveler l'exemple}{exemple2}

</div>