User Tools

Site Tools


uphp:functions:cos

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
uphp:functions:cos [2017/03/01 13:45]
jeff
uphp:functions:cos [2021/09/13 05:57] (current)
Line 1: Line 1:
 ======cos====== ======cos======
 +
 <badge>WMPRO, WMMINI FW >= 1.0</badge> <badge>WMMEGA FW >= 2.0</badge> <badge>WMPRO, WMMINI FW >= 1.0</badge> <badge>WMMEGA FW >= 2.0</badge>
  
Line 5: Line 6:
  
 ====Description==== ====Description====
-<well size="sm"><html><span style="font-size:125%;color:green;">float + 
-<span style="color:black;"></html>[[cos]] +<well size="sm"><html> 
-<html>+<span style="font-size:125%;color:green">float 
-<span style="color:green;">numeric +<span style="color:black">cos ( 
-<span style="color:blue;">$radian_angle +<span style="color:green">number 
-<span style="color:black;">)+<span style="color:blue">$radian_angle 
 +<span style="color:black">)
 </html></well> </html></well>
  
-====Parameters==== +====Parameter====
-<html><span style="color:blue;"><b>radian_angle</b><span style="color:black;"></html>:  Angle in radians+
  
-====Return Value==== +<html><b><span style="color:blue">$radian_angle<span style="color:black"></b></html>:  Angle in radians
-Cosine of angle+
  
-====Example==== +====Return Values==== 
-<code php><pre><? + 
-$pi=3.14159; +<html><b><span style="color:green">Float<span style="color:black"></b></html>:  Cosine of angle 
-print(cos($pi)."\r\n"); //result is -1.000000 + 
-print(cos($pi*2)."\r\n"); //result is 1.000000 +====Examples==== 
-?></pre></code>+ 
 +<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==== ====See Also====
 +
 [[sin()]] - Return sine of a radian angle [[sin()]] - Return sine of a radian angle
  
uphp/functions/cos.1488375948.txt.gz · Last modified: 2021/09/13 05:56 (external edit)