!!! fichier commun aux exercices 9 et 10 !!!

dim=3

## choix de l'quation d'un plan 
w0=
!for i=1 to 2
  x=!randint -7,7
  w0=!append item $x to $w0
!next i
w3=!randitem -1,1
vecw=!append item $w3 to $w0
vecw=!shuffle $vecw

## coordonnes
vecx=x,y,z

## quation du plan
eqH=expand([$vecw] . transpose([$vecx]))
a=!item 1 of $vecw
b=!item 2 of $vecw
c=!item 3 of $vecw
norm=($a)^2+($b)^2+($c)^2

vecx=\(($vecx))


