I have seen these math.sin,math.cos in some scripts, searched the wiki but it still confuses me, what are these math functions and what are they useful for?
✓ ANSWER ACCEPTED
What does math.sin, math.cos means?
1 answer
✓ Accepted answer
These functions are like the functions you use on a calculator, with sin, cos, and tan. These functions in short are use to calculate the angles and sides of a triangle, if you would like to learn how to utilize these functions, trigonometry is the category these functions fall in.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
math.cos(x) returns the cosine of x and math.sin(x) returns the sine of x. For example, if x in math.sin was 1 radian, it would return 0.8414709848. If x in math.cos was 1 radian, it would return 0.54030230586.