formula by piltz0moritz | SimScale