User Tools

Site Tools


uphp:functions:cos

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

uphp:functions:cos [2017/05/09 09:59]
jeff
uphp:functions:cos [2021/09/13 05:57]
Line 1: Line 1:
-======cos====== 
- 
-<badge>WMPRO, WMMINI FW >= 1.0</badge> <badge>WMMEGA FW >= 2.0</badge> 
- 
-Return cosine of a radian angle 
- 
-====Description==== 
- 
-<well size="sm"><html> 
-<span style="font-size:125%;color:green">float 
-<span style="color:black">cos ( 
-<span style="color:green">number 
-<span style="color:blue">$radian_angle 
-<span style="color:black">) 
-</html></well> 
- 
-====Parameter==== 
- 
-<html><b><span style="color:blue">$radian_angle<span style="color:black"></b></html>:  Angle in radians 
- 
-====Return Value==== 
- 
-<html><b><span style="color:green">Float<span style="color:black"></b></html>:  Cosine of angle 
- 
-====Examples==== 
- 
-<code php> 
-<pre><? 
-  $pi=3.14159; 
-  print(cos($pi)."\r\n");   // result is -1.000000 
-  print(cos($pi*2)."\r\n"); // result is  1.000000 
-?></pre> 
-</code> 
- 
-====See Also==== 
- 
-[[sin()]] - Return sine of a radian angle 
  
uphp/functions/cos.txt · Last modified: 2021/09/13 05:57 (external edit)