For an initial investment of $1000$, investment A pays $100$ every year for $10$ years, starting from the end of year 1, plus a bonus maturity payout of $1000$ (i.e you receive a total of $1100$ at the end of the tenth year), while investment for B pays you $80$ every year for $10$ years, starting from the end of year $1$, plus bonus maturity payout of $1220$. On the basis of yield, which of the 2 investments is preferable.
Yield for A should be
$-1000 + \sum_{n=1}^{10}\frac{100}{(1+i)^{10}} +\frac{1000}{(1+i)}$
Yield for B should be
$-1000 + \sum_{n=1}^{10}\frac{80}{(1+i)^{10}} +\frac{1220}{(1+i)}$
A hinnt is given in the question to use Newton Raphson, but I do not knw where to start.
