math Flashcards
1
Q
math.cos(x)
A
calculates cosine
2
Q
math.sin(x)
A
calculates sine
3
Q
math.ceil(x)
A
gets rid of decimal and moves up to next integer
4
Q
math.floor(x)
A
gets rid of decimal and moves down to next integer
5
Q
math.factorial(x)
A
calculates factorial
6
Q
math.sqrt(x)
A
calculates square root
7
Q
math.gcd(x, y)
A
takes two numbers. Finds greatest common denominator for the two numbers.
8
Q
math.radians(x)
A
inputs degrees and returns radians
9
Q
math.degrees(x)
A
inputs radians and returns degrees