# $Quintex

On your command line, run the following commands:
```bash
npm install quintex
```
Write the following code in your Node.JS server JavaScript file:
```js
const $ = require("quintex");
```

Documentation:
* [$.math](https://www.npmjs.com/package/quintex#math)
* [$.science](https://www.npmjs.com/package/quintex#unavailable)
* [$.sc](https://www.npmjs.com/package/quintex#unavailable)
* [$.geog](https://www.npmjs.com/package/quintex#unavailable)
* [$.history](https://www.npmjs.com/package/quintex#unavailable)


## Math
The Quintex Math library gives you access to a wide variety of math Functions
```js
const $ = require("quintex");

$.math.add([2, 3, 5, 7]);                  // 17
$.math.sub(4, 5);                          // -1
$.math.mult([2, 3, 5, 7]);                 // 210
$.math.div(6, 3);                          // 2
$.math.pow(2, 4);                          // 16
$.math.tpow(5);                            // 100000
$.math.percOf(7);                          // 0.07

```

#### $.math.add()
Parameters:
- *numbers* : [Number]

```js
$.math.add([1, 2, 3, 4, 5]);
// 15
$.math.add([4, 7, 2, 5, 3]);
// 21
```

#### $.math.sub()
*  Parameters:
-  *num1* : Number
-  *num2* : Number
*  **Result:** *num1*-*num2*

```js
$.math.sub(5, 2);
// 3
$.math.sub(4, 10);
// -6
```

#### $.math.mult()
*  Parameters:
  -  *numbers* : [Number]

```js
$.math.mult([5, 2, 3, 2]);
// 60
$.math.mult([9, 3, 5]);
// 135
```

#### $.math.div()
*  Parameters:
  -  *num1* : Number
  -  *num2* : Number
*  **Result:** *num1*/*num2*

```js
$.math.div(6, 2);
// 3
$.math.div(5, 3);
// 1.6666666666666667
```

#### $.math.pow()
*  Parameters:
  -  *num1* : Number
  -  *num2* : Number
*  **Result:** *num1*^*num2*

```js
$.math.pow(2, 4);
// 16
$.math.pow(3, 7);
// 2187
```

#### $.math.tpow()
*  Parameters:
  -  *ex* : Number
*  **Result:** 10^*ex*

```js
$.math.tpow(2);
// 100
$.math.tpow(8);
// 100000000
```

#### $.math.percOf()
*  Parameters:
  -  *base* : Number
  -  *of* : Number
*  **Result:** *base*% * *of*

```js
$.math.percOf(10, 100);
// 10
$.math.percOf(53, 2934);
// 1555.02
```

#### $.math.sq()
*  Parameters:
  -  *num* : Number
*  **Result:** *num*^2

```js
$.math.sq(10);
// 100
$.math.sq(341);
// 116281
```

#### $.math.cb()
*  Parameters:
  -  *num* : Number
*  **Result:** *num*^3

```js
$.math.cb(3);
// 27
$.math.cb(41);
// 68921
```

#### $.math.rcp()
*  Parameters:
  -  *num* : Number
*  **Result:** 1/*num*

```js
$.math.rcp(4);
// 0.25
$.math.rcp(100);
// 0.01
```

#### $.math.eX()
*  Parameters:
  -  *num* : Number
*  **Result:** e^*num*

```js
$.math.eX(4);
// 54.59815003314423
$.math.eX(100);
// 2.6881171418161212e+43
```

#### $.math.sqrt()
*  Parameters:
  -  *num* : Number
*  **Result:** √(*num*)

```js
$.math.sqrt(4);
// 2
$.math.eX(16);
// 4
```

#### $.math.cbrt()
*  Parameters:
  -  *num* : Number
*  **Result:** ³√(*num*)

```js
$.math.cbrt(8);
// 2
$.math.cbrt(729);
// 9
```

#### $.math.log()
*  Parameters:
  -  *x* : Number
  -  *num* : Number
*  **Result:** log*ₓ*(*num*)

```js
$.math.log(4, 78);
// 3.1427011094311244
$.math.log(10, 100);
// 2
```

#### $.math.log10()
*  Parameters:
  -  *num* : Number
*  **Result:** log₁₀(*num*)

```js
$.math.log(728);
// 2.8621313793130367
$.math.log(100000000);
// 8
```

#### $.math.log2()
*  Parameters:
  -  *num* : Number
*  **Result:** log₂(*num*)

```js
$.math.log2(2194);
// 11.099347810403193
$.math.log2(16384);
// 14
```

#### $.math.ln()
*  Parameters:
  -  *num* : Number
*  **Result:** ln(*num*)

```js
$.math.ln(213);
// 5.3612921657094255
$.math.log2(1244);
// 7.126087273299125
```

## Unavailable
This $Quintex folder is currently empty. We will update this folder soon.
