Skip to content

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

License

Notifications You must be signed in to change notification settings

MarioSieg/mathematics-lua

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mathematics-lua

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

Executing

luajit <file>

or if you use PUC Lua:

lua <file>

Topics

  1. Faculty

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

  1. 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} $$

  1. Sequences

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Languages