COS()

COS(V)

RETURNS THE COSINE OF V

  • Type: Function
  • Parameter: 1
  • Group: Mathematics

ACTION

The function COS(V) returns the cosine of V.

V is expressed in radians and can be a real or integer number.

SYNTAX: Result=COS(V)

  • V = real or integer value.

USE

  • The function COS() is used to calculate the cosine of an angle.

ERROR

  • If V is not a correct expression.

EXAMPLE

print cos(2.3)

print "Result = -0.666276021279824"

SEE ALSO

ACOS()

ASIN()

ATN()

HCOS()

HSIN()

HTAN()

SIN()

TAN()