Quant algebra question

A post was merged into an existing topic: Leandro invests P dollars