decay factor math example