3 years ago

# 5 Mathematical Functions from Numpy Routines

### Lets! Explore 5 Mathematical functions

Numpy is used to perform mathematical calculations using various functions like matmul,sum,mean,average, etc. It much more faster and user friendly then the python calculations and it also perform multi dimesional calculations with all functions of python taken to new heights like arange,shape,reshape functions. Let's explore five new below mentioned Mathematical functions.

1.random - np.random.seed()
2.Logarithms - np.log()
3.Rounding - np.around()
4.Trignometric Function - np.sin()
5.Matrix function - np.diag()

``!pip install jovian ``
```Requirement already satisfied: jovian in /opt/conda/lib/python3.8/site-packages (0.2.29) Requirement already satisfied: pyyaml in /opt/conda/lib/python3.8/site-packages (from jovian) (5.3.1) Requirement already satisfied: click in /opt/conda/lib/python3.8/site-packages (from jovian) (7.1.2) Requirement already satisfied: requests in /opt/conda/lib/python3.8/site-packages (from jovian) (2.24.0) Requirement already satisfied: uuid in /opt/conda/lib/python3.8/site-packages (from jovian) (1.30) Requirement already satisfied: idna<3,>=2.5 in /opt/conda/lib/python3.8/site-packages (from requests->jovian) (2.10) Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /opt/conda/lib/python3.8/site-packages (from requests->jovian) (1.25.11) Requirement already satisfied: certifi>=2017.4.17 in /opt/conda/lib/python3.8/site-packages (from requests->jovian) (2020.6.20) Requirement already satisfied: chardet<4,>=3.0.2 in /opt/conda/lib/python3.8/site-packages (from requests->jovian) (3.0.4) ```
``import jovian``
``jovian.commit(project='numpy-array-operations')``
```[jovian] Attempting to save notebook.. [jovian] Please enter your API key ( from https://jovian.ml/ ): API KEY: ········ [jovian] Creating a new project "omprakashp014909/numpy-array-operations" [jovian] Uploading notebook.. [jovian] Capturing environment.. [jovian] Committed successfully! https://jovian.ml/omprakashp014909/numpy-array-operations ```
``'https://jovian.ml/omprakashp014909/numpy-array-operations'``

Let's begin by importing Numpy and listing out the functions covered in this notebook.