I am an informatics student who was given an assignment to do with finance and we're not very financially literate.
We are asked to theoretically build a platform to mimic bond exchanges. As part of this platform, we are told we need to calculate an internal rate of return.
You can see the rate of return formula we were provided here:
Now, assuming we have a bond whose details are as follows: the bond is priced at $100 with a term of 5 years. The coupon/interest rate is 5%, and the frequency of payments is annual.
Using the assumptions above, we can infer that the payout would be $125 (paid in four instalments of $5 and a final instalment of $105).
From what I understand and what we were told (and please do correct me if I'm wrong), the internal rate of return represents the point at which inflation becomes too high for an investor to make a profit on the bond.
I have a function that already calculates the payout assuming inflation (for example, assuming an inflation of 5% using the bond described above, the payout would be $99.99).
We are told that the internal rate of return for this bond is 0.0432 (i.e. 4.32%). What I do not understand is how to get to that number.
So, in summary:
I have the details at Point A (price = $100, term = 5 years, coupon = 5%, frequency = annual) and I have the number I want to get to at Point B (internal rate of return = 4.32%).
I just want to know how to get from point A to point B.