Best example to calculate the internal rate of return.
https://www.mathsisfun.com/money/internal-rate-return.html
The main idea of calcuting IRR is to make the NPV(net present value) to 0.
Present value from the article :
The IRR
– in french is TRI (Taux rentabilité interne)
– in chinese is 内部报酬率