formula by ip_rez_manchad | SimScale