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/02/20 15:24]
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;">numeric 
-<span style="color:blue;">$radian_angle 
-<span style="color:black;">) 
-</html></well> 
- 
-====Parameters==== 
-<html><span style="color:blue;"><b>radian_angle</b><span style="color:black;"></html>:  Angle in radians 
- 
-====Return Value==== 
-Cosine of angle 
- 
-====Example==== 
-<code php><?  
-$pi=3.14159; 
-print(cos($pi)); //result is -1 
-print(cos($pi*2)); //result is 1 
-?></code> 
- 
-====See Also==== 
-[[sin()]] - Return sine of a radian angle 
  
uphp/functions/cos.txt · Last modified: 2021/09/13 05:57 (external edit)