nivo_title=Schrijf zonder haakjes	
n=$teller
somtekst$n=Schrijf zonder haakjes:<p>
letters=a,b,c,d,f,g,h,j,k,l,m,n,p,q,r,s,t,u,v,x,y
keuze=!randitem 1,2
AA=!randitem $letters
a=!randitem 2,3,4,5,6,7,8,9,10
c=!randitem 1,2,3,4,5,6
b=$[$a+$c]
d=!randitem 2,3,4,5,6,7

!if $graad=0
    R=$teller
!else
    R=$graad
!endif 

!if $R=1
    !if $keuze=1
	som$n=$AA*($AA + $a)
    !else
	som$n=$AA*($a -$AA)
    !endif
!endif    
!if $R=2
    !if $keuze=1
	som$n=($AA + $a)*($AA + $c)
    !else
	som$n=($AA - $a)*($AA + $c)
    !endif
!endif    
!if $R=3
    !if $keuze=1
	som$n=($d*$AA - $a)*($AA + $b)
    !else
	som$n=($AA - $a)*($d*$AA - $b)
    !endif
!endif    

!if $R>3
#bolleboosjes
    !if $keuze=1
	som$n=$AA*($AA - $a)*($AA + $b)
    !else
	som$n=$AA*($AA - $a)*($b - $AA^2)
    !endif
!endif    

tussen=!exec pari $(som$n)\
printtex($(som$n))
GOED$n=!line 1 of $tussen
opgave$n=!texmath $(som$n)
goed$n=!texmath $(GOED$n)
varlist=$AA
wims_rawmath_variables=$AA
varcnt=1
factor=1
bewerking=bewerking2.proc
vergelijking=0
haakjes=0
latex$n=1
letterlijk=0	
argument=
hint=een klein voorbeeldje<br>\
(a+b)(a+b)  -->  a<sup><small>2</sup></small> + ab + ba + b<sup><small>2</sup></small> = a<sup><small>2</sup></small> + 2ab+ b<sup><small>2</sup></small> <br>\
(a+b)(a-b)  -->  a<sup><small>2</sup></small> - ab + ba + b<sup><small>2</sup></small> =  a<sup><small>2</sup></small> + b<sup><small>2</sup></small> or<br>\
a(a+b)(a+b)  -->  a<sup><small>3</sup></small> + aab + baa + ab<sup><small>2</sup></small> =  a<sup><small>3</sup></small> + 2ba<sup><small>2</sup></small> + ab<sup><small>2</sup></small> 
woordmax=10
