n=$counter
mathview=0
# we need two inputfields
# reply$n= "input1","input2"
inputs=2
questiontype=0
checkfile=exos/checkfile2.proc
exotext=!record 30 of lang/remarks.$taal
# Domein en Bereik van de verschillende functies.
question$n=!record 31 of lang/remarks.$taal
# Bepaal het bereik (<b>B</b><sub>f</sub> ) en domein (<b>D</b><sub>f</sub> ) van de volgende functie:
inputtext1=!record 14 of lang/remarks.$taal
inputtext2=!record 15 of lang/remarks.$taal
a=!randitem 2,3,4,5,6,7,8,9
b=!randitem 1,2,3,4,5,6,7,8,9
lijst=lijst7.def
aantal_records=!recordcnt exos/$lijst
num=!randint 1,$aantal_records
vraag=!record $num of exos/$lijst
functie=!line 1 of $vraag
v2=!line 2 of $vraag
v3=!line 3 of $vraag
v4=!line 4 of $vraag
v5=!line 5 of $vraag
answer$n=$v2,$v4
formula$n=!texmath f(x) = $functie
texanswer$n=$(formula$n) \rightarrow \left\{ \begin{array}{ccc} D_f & : & $v3 \\ B_f & : & $v5 \end{array}
!if $image=1 or $teaching=1
    !readproc exos/image.proc
!endif
