# gelijkbenige driehoek geeg hoek in A
n=$counter
questiontype=4
mathview=0
math=0
cols=10
rows=1
!if $level=0
    R=$counter
!else
    R=$level
!endif
!if $teaching=0
    helptext=$empty
    exotext=$empty
!else
    helptext=!record 63 of $remarkdir/commonremarks.$taal
    exotext=$empty
!endif
showToolBar=true
showMenuBar=false                                                                                             
framePossible=false
ggb=ggb/onbekendehoek1.ggb
width=440
height=440
checkfile=exos/checkfile6.proc
customToolBar=" 0 | 40 "
# het antwoord uit de textarea wordt met de applet meegestuurt (inputs=1)
list_of_things=['text']; 
exotext=$empty
helptext=$empty
inputs=1
!if $R>0
    inputtext1=!record 26 of lang/remarks.$taal
    #@ De hoek in A is ?
    hoek=!randint 15,60
    answer$n=$[180-2*($hoek)]
    appletcommand=document.applets[0].evalCommand("hoekA=$hoek");
    ss=!record 27 of lang/remarks.$taal
    question$n=$ss
    #@ Gegeven een <b>gelijkbenige driehoek ABC</b><br>De hoek in B is $hoek  &#176;<br>Bereken de hoek in A
    rr=!record 28 of lang/remarks.$taal
    #@ De som van alle hoeken in een Driehoek is altijd 180 &#176;<br>Een gelijkbenige driehoek heeft 2 gelijke hoeken:<br>de hoek in A=180&#176; - 2&times;(de hoek in B) = 180 -2&times;$hoek &#176; = $(answer$n) &#176;
    textanswer$n=$rr
!endif



#document.applets[0].evalCommand("\u03b2=$b");
#document.applets[0].evalCommand("a=$a");\
#document.applets[0].evalCommand("Ax=$xa");\
#document.applets[0].evalCommand("Ay=$ya");\
#document.applets[0].evalCommand("A = (Ax,Ay)");
#document.applets[0].evalCommand("Z= (0,0)");\
#document.applets[0].evalCommand("l = Line[A,Z]");\
#document.applets[0].setVisible('Z', false)\
#document.applets[0].setVisible('l', false)
#document.applets[0].evalCommand("Nx_B=$x1");\
#document.applets[0].evalCommand("Ny_B=$y1");\
#document.applets[0].evalCommand("Nx_C=$x2");\
#document.applets[0].evalCommand("Ny_C=$y2");\
#document.applets[0].evalCommand("A = (Nx_A,Ny_A)");\
#document.applets[0].evalCommand("B = (Nx_B,Ny_B)");\
#document.applets[0].evalCommand("C = (Nx_C,Ny_C)");\
#document.applets[0].evalCommand("Py_s = Line[A,B]");\
#document.applets[0].evalCommand("Py_r = Line[A,C]");
