Difference between revisions of "Sin"

From Mesham
Jump to navigationJump to search
(Created page with '== Overview == This sin[d] function will find the sine of the value or variable ''d'' passed to it. * '''Pass:''' A double to find sine of * '''Returns:''' A double representi…')
 
m (5 revisions imported)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
== Overview ==
 
== Overview ==
  
This sin[d] function will find the sine of the value or variable ''d'' passed to it.
+
This sin(d) function will find the sine of the value or variable ''d'' passed to it.
  
* '''Pass:''' A double to find sine of
+
* '''Pass:''' A [[Double]] to find sine of
  
* '''Returns:''' A double representing the sine
+
* '''Returns:''' A [[Double]] representing the sine
  
 
== Example ==
 
== Example ==
  
  var a:=sin(98.54);
+
  #include <maths>
var y:=sin(a);
+
 +
function void main() {
 +
    var a:=sin(98.54);
 +
    var y:=sin(a);
 +
};
 +
 
 +
''Since: Version 0.41b''
  
 
[[Category:Function Library]]
 
[[Category:Function Library]]
 
[[Category:Maths Functions]]
 
[[Category:Maths Functions]]

Latest revision as of 15:44, 15 April 2019

Overview

This sin(d) function will find the sine of the value or variable d passed to it.

  • Pass: A Double to find sine of
  • Returns: A Double representing the sine

Example

#include <maths>

function void main() {
   var a:=sin(98.54);
   var y:=sin(a);
};

Since: Version 0.41b