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.
- Host: GitHub
- URL: https://github.com/mariosieg/mathematics-lua
- Owner: MarioSieg
- License: unlicense
- Created: 2024-05-07T10:35:12.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-10T08:53:17.000Z (about 2 years ago)
- Last Synced: 2025-01-27T23:27:38.058Z (over 1 year ago)
- Topics: lua, mathematics
- Language: Lua
- Homepage:
- Size: 7.81 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.