SYNTAX AND PURPOSE OF FUNCTIONS 1. i. Mathematical Functions ABS: Returns the absolute value of a number. The absolute value of a number is the number without its sign. =…