Operation Manual
Hoofdstuk 20: Alfabetisch naslagregister Functies en instructies
343
20ATOZEU.DUT Hoofdstuk 20: Alfabetisch naslagregister Functies en instructies Raquel Revised: 02/15/98 1:39 PM Printed: 10/05/98 3:54 PM Page 343 of 12820ATOZEU.DUT Hoofdstuk 20: Alfabetisch naslagregister Functies en instructies Raquel Revised: 02/15/98 1:39 PM Printed: 10/05/98 3:54 PM Page 343 of 128
:If conditie
:Then
:commando’s-als-waar
:Else
:commando’s-als-onwaar
:End
:commando’s
Als conditie waar is (ongelijk aan nul), wordt
commando’s-als-waar van
Then
tot
Else
uitgevoerd en
wordt de uitvoering voortgezet met het commando dat
volgt na
End
.
Als conditie onwaar is (nul), wordt commando’s-als-
onwaar uitgevoerd van
Else
tot
End
en wordt de
uitvoering voortgezet met het commando dat volgt na
End
.
Programma-onderdeel:
©
:If x<0
:Then
: Disp "x is negative"
:Else
: Disp "x is positive or nul"
:End
©
imag
CPLX-menu
imag (complexGetal)
Geeft het imaginair (niet-reële) deel van complexGetal.
Het imaginaire deel van een reëel getal is altijd 0.
imag (
reëel deel,imaginair deel
)
geeft
imaginair.
imag (
grootte
±
hoek
)
geeft
grootte
sin
hoek.
imag (3,4) b 4
imag (3±4) b
L
2.27040748592
imag complexeLijst
imag complexeMatrix
imag complexeVector
Geeft een lijst, matrix of vector waarin elk element het
imaginaire deel van het originele argument is.
imag {
L
2,(3,4),(3±4)} b
{0 4
L
2.27040748592}