An open API service indexing awesome lists of open source software.

https://github.com/mariosieg/mathematics-lua

Lua snippets for testing different mathematical principles we learn by studying mathematics at university.
https://github.com/mariosieg/mathematics-lua

lua mathematics

Last synced: about 1 year ago
JSON representation

Lua snippets for testing different mathematical principles we learn by studying mathematics at university.

Awesome Lists containing this project

README

          

# mathematics-lua
Mathematical snippets for studying and testing different mathematical principles from our studies at TU Berlin.

## Executing
```
luajit
```
or if you use PUC Lua:
```
lua
```

## Topics

1. Faculty

$$
n!:=\prod_{k=1}^n k=1 \cdot 2 \cdot \ldots \cdot n
$$

2. Binomial coefficient

$$
\binom{n}{k}:=\prod_{j=1}^k \frac{n-j+1}{j}=\frac{n(n-1) \cdot \ldots \cdot(n-k+1)}{1 \cdot 2 \cdot \ldots \cdot k}
$$

3. Sequences

A sequence is formally defined as a function whose domain is an interval of integers.