Vision VTB-101 Podręcznik Użytkownika Strona 35

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 125
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 34
35
VTB USER GUIDE
8 MATH FUNCTIONS
VTB manages a wide SET of mathematical functions.
8.1 SIN
Return the sinus of an angle in a FLOAT value.
Hardware All
Syntax
Sin (angle) as float
The argument angle can be a FLOAT value or any numeric expression which represents the angle in radians.
Example:
Used variables:
angle float
Cosec float
angle = 1.3 Define the angle in radians.
cosec = 1 / Sin (angle) Calculate the cosecant.
8.2 COS
Return the cosinus of an angle in a FLOAT value.
Hardware All
Syntax
Cos (angle) as float
The argument angle can be a FLOAT value or any numeric expression which represents the angle in radians.
Example:
Used variables:
angle float
sec float
angle = 1.3 Define the angle in radians.
sec = 1 / Cos (angle) Calculate the secant.
8.3 SQR
Return the square root of a number.
Hardware All
Syntax
Sqr (number) as float
The argument number can be a FLOAT value or any numeric expression greater or equal than zero.
Example
Used variables:
vsqr float
vsqr = sqr (4) return the value 2
8.4 TAN
Return the tangent of an angle in a FLOAT value.
Hardware All
Syntax
Tan (angle) as float
The argument angle can be a FLOAT value or any numeric expression which represents the angle in radiant.
Przeglądanie stron 34
1 2 ... 30 31 32 33 34 35 36 37 38 39 40 ... 124 125

Komentarze do niniejszej Instrukcji

Brak uwag