All BASIC commands
Section 4-2
97
4-2-28 ASIN
/i
4-2-29 ATAN
/i
4-2-30 ATAN2
/i
Type
Mathematical function
Syntax
ASIN(expression)
Description
The
ASIN
function returns the arc-sine of the argument. The argument
must have a value between -1 and 1. The result in radians is between -
PI/2 and PI/2. Input values outside this range return 0.
Arguments
•
expression
Any valid BASIC expression.
Example
>> PRINT ASIN(-1)
-1.5708
See also
N/A
Type
Mathematical function
Syntax
ATAN(expression)
Description
The
ATAN
function returns the arc-tangent of the argument.
expression
can have any value. The result is in radians and is between
-PI/2 and PI/2.
Arguments
•
expression
Any valid BASIC expression.
Example
>> PRINT ATAN(1)
0.7854
See also
N/A
Type
Mathematical function
Syntax
ATAN2(expression1, expression2)
Description
The
ATAN2
function returns the arc-tangent of the non-zero complex
number
(expression1, expression2)
, which is equivalent to the angle
between a point with coordinate
(expression1, expression2)
and the
x-axis. If
expression2 >= 0
, the result is equal to the value of
ATAN(expression1 / expression2)
. The result in radians will be
between -PI and PI.
Arguments
•
expression1
Any valid BASIC expression.
•
expression2
Any valid BASIC expression.
Example
>> PRINT ATAN2(0,1)
0.0000
See also
N/A
Содержание SYSMAC CJ Series
Страница 2: ......
Страница 70: ...Specifications Section 2 4 58...
Страница 84: ...FINS commands Section 3 4 72...
Страница 148: ...All BASIC commands Section 4 2 136 AXIS 1 AXIS 0...
Страница 277: ...Section 265 SECTION 5 Examples This chapter gives 2 categories of examples and tips How to s Practical examples...
Страница 370: ...Section 358...