sin function

Syntax

  • float sin(x)

Parameters

  1. xfloat

Returns

The sine of x, i.e. a value in [-1, 1].

Description

The sine function calculates the sine of x, where x is given in degrees.

Related


In this topic