Cos

From Mesham
Jump to navigationJump to search

Overview

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

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

Example

#include <maths>

function void main() {
   var a:=cos(10.4);
   var y:=cos(a);
};

Since: Version 0.41b