Mwnci asin() function

Syntax

asin(sine)

Parameters

Parameter

Parameter

Definition

sine sine argument

*Valid Values* 
-1 ≤ sine ≤ 1

Description

The asin() function returns the arc sine of a number.

Example

include("math")
HALFPI = PI / 2
println("Arcsine + Arcosine Identity Verification\n")
println("  Sine     Expected   Returned")
println("------------------------------")
sine = -0.9
while (sine < 1.0) {
    printf("%+8.6f  %+8.6f  %+8.6f\n", sine, HALFPI, asin(sine) + acos(sine))
    sine = sine + 0.1
}