formula by rniskanen | SimScale...