Similar to the case of array-manipulating routines, a detailed discussion of every NumPy mathematical function exceeds the scope of these notes. However, every function can be accessed using the same procedure; we need a set of values to pass to the function’s argument- that is it! The code snippet below shows the procedure to use a NumPy mathematical functions by means of two trigonometric functions, namely, .sin and .cos. In line 9, we create a range of values to assign to the variable X; then, in line 11, we create two further arrays assigned to the outcome of .sin and .cos respectively; finally, we use the Matplotlib module to visualize the two functions (if you do not get the Matplotlib code logic, do not worry at all — you will familiarize yourself with it in the Fall Term module ‘SMM635, Data Visualization.’)