z = x * n / 100 / (1 - pow(1 + n / 100, -y));