Difference between revisions of "Sin"

From Mesham
Jump to navigationJump to search
m
m
Line 3: Line 3:
 
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 ==
Line 12: Line 12:
 
  var a:=sin(98.54);
 
  var a:=sin(98.54);
 
  var y:=sin(a);
 
  var y:=sin(a);
 +
 +
''Since: Version 0.41b''
  
 
[[Category:Function Library]]
 
[[Category:Function Library]]
 
[[Category:Maths Functions]]
 
[[Category:Maths Functions]]

Revision as of 18:39, 13 January 2013

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>
var a:=sin(98.54);
var y:=sin(a);

Since: Version 0.41b