sin function

Syntax

  • float sin(x)

Parameters

  1. xfloat

Returns

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

Description

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

Related


In this topic