* simplify the formula avoiding unnecessary floating point calculations and