Mathematician in compounding interest

Job ID: 31240254

Budget: $750 – $1,500 USD

There is a investment I'm looking into and you choose when to compound interest and when you take money out. This project has many rules. I'm looking for the best way to maximize profits while pulling out enough to live on