The math.tan()
function returns the tangent of a value given in radians. This function takes a single parameter (x) and returns the tangent of the angle as a floating point number.
math.tan(x)
copy
Where x
is the angle(in radians), whose tangent we want.
The function returns the tangent of x
.
The math.radians() function takes an angle in degrees and returns its value in radians.