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/03/27 20:47]
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;"></html>[[cos]] 
-<html>( 
-<span style="color:green;">number 
-<span style="color:blue;">$radian_angle 
-<span style="color:black;">) 
-</html></well> 
- 
-====Parameter==== 
-<html><span style="color:blue;"><b>radian_angle</b><span style="color:black;"></html>:  Angle in radians 
- 
-====Return Value==== 
-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)