User Tools

Site Tools


uphp:functions:sin

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:sin [2017/03/06 11:10]
jeff
uphp:functions:sin [2021/09/13 05:57] (current)
Line 1: Line 1:
 ======sin====== ======sin======
 +
 <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>[[sin]] +<well size="sm"><html> 
-<html>+<span style="font-size:125%;color:green">float 
-<span style="color:green;">number +<span style="color:black">sin ( 
-<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 
-Sine of angle+ 
 +====Return Values==== 
 + 
 +<html><b><span style="color:green">Float<span style="color:black"></b></html>:  Sine of angle 
 + 
 +====Examples====
  
-====Example==== 
 <code php> <code php>
-<?  +<? 
-$pi=3.14159; +  $pi=3.14159; 
-print(sin($pi/2)); //result is 1 +  print(sin($pi/2)); // result is 1 
-print(sin($pi)); //result is 0+  print(sin($pi));   // result is 0
 ?> ?>
 </code> </code>
  
 ====See Also==== ====See Also====
 +
 [[cos()]] - Return cosine of a radian angle [[cos()]] - Return cosine of a radian angle
  
uphp/functions/sin.1488798605.txt.gz · Last modified: 2021/09/13 05:56 (external edit)