HomeManualTopicsTypesSymbols

std::sin

returns the sine of the given angle

Parameter

angle: a (real) numeric value

Result

result: the sine of the given angle

Example

println! sin(PI/2)

Output

1

Topic

Numbers

See also

std::cos returns the cosine of the given angle
std::tan returns the tangent of the given angle
std::asin returns the arcsine of the given value
std::acos returns the arccosine of the given value
std::atan returns the arctangent of the given value