I am maintaining an old piece of financial software. In the source code I have found an implementation of the following formula:
$$p2 \over (p1 + 1) - (p1 * p2)$$
The formula is used as part of some sort of financial tax calculation. If it is of any help, both p1 and p2 are percentages expressed as factors. For instance, if p1 represents 5% then the actual value of p1 is 0.05. In addition, I can say that p1 represents the tax percentage, whereas the meaning of p2 is not clear to me - the only thing I know is that it is another percentage.
In order to understand the meaning of p2 and what the software does (it's undocumented, of course), it might help if I understood what the formula expresses. So my question to this community: Does anyone here recognize the purpose of the formula?