forked from processing/processing-web-archive
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathasin.xml
More file actions
executable file
·61 lines (45 loc) · 1.18 KB
/
Copy pathasin.xml
File metadata and controls
executable file
·61 lines (45 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<root>
<name>asin()</name>
<category>Math</category>
<subcategory>Trigonometry</subcategory>
<usage>Web & Application</usage>
<example>
<image></image>
<code><![CDATA[
float a = PI/3;
float s = sin(a);
float as = asin(s);
// Prints "1.0471976 : 0.86602545 : 1.0471976"
println(a + " : " + s + " : " + as);
]]></code>
</example>
<example>
<image></image>
<code><![CDATA[
float a = PI + PI/3.0;
float s = sin(a);
float as = asin(s);
// Prints "4.1887903 : -0.86602545 : -1.0471976"
println(a + " : " + s + " : " + as);
]]></code>
</example>
<description><![CDATA[The inverse of <b>sin()</b>, returns the arc sine of a value. This function expects the values in the range of -1 to 1 and values are returned in the range <b>-PI/2</b> to <b>PI/2</b>.]]></description>
<syntax><![CDATA[
asin(<kbd>value</kbd>)
]]></syntax>
<parameter>
<label>value</label>
<description><![CDATA[float: the value whose arc sine is to be returned]]></description>
</parameter>
<returns>float</returns>
<related>
sin()
acos()
atan()
</related>
<availability>1.0</availability>
<type>Function</type>
<partof>Core</partof>
<level>Extended</level>
</root>