Math module Flashcards

functions in the standard math module (13 cards)

1
Q

round-up value

A

ceil(x)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

factorial (3! = 21)

A

factorial(x)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

remainder of division

A

fmod(x,y)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

absolute value

A

fabs(x)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

round-down value

A

floor(x)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

floating-point sum of a range, list, or array

A

fsum(x)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

exponential function

A

exp(x)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

raise x to the power of y

A

pow(x,y)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

natural logarithm

A

log(x,(base)) base is optional

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

square root

A

sqrt(x)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

convert degrees to radians

A

radians(x)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

convert from radians to degrees

A

degrees(x)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

mathematical constant pi 3.141592…

A

pi(constant)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly