,RECAP : CHECK YOUR
FUNCTIONS
Functionality of the function Name the
function
Takes the absolute value of x
Takes the logarithm of x with base y; if base is not
specified, returns the natural logarithm
Returns the exponential of x
Returns the square root of x
Returns the factorial of x (x!)
To round a number to two digits after the decimal point,
for
To round numbers to multiples of 10, 100, and so on
To specify the number of significant digits to be retained
To calculate the cosine of an angle of 120 degrees
,CHECK YOUR FUNCTIONS
Functionality of the function Name the function
Takes the absolute value of x abs(x)
Takes the logarithm of x with base y; if base is log(x, base=y)
not specified, returns the natural logarithm
Returns the exponential of x exp(x)
Returns the square root of x sqrt(x)
Returns the factorial of x (x!) factorial (x)
To round a number to two digits after the round(123.456, digits = 2)
decimal point, for
To round numbers to multiples of 10, 100, and round(-123.456, digits = -2)
so on
To specify the number of significant digits to be signif(-123.456, digits = 4
retained
To calculate the cosine of an angle of 120 cos(120 * pi / 180)
degrees
To know the length of a vector length()
, VECTORS