Internal rate of return (IRR) and yield to maturity are calculations used by companies to assess investments, but they refer to different things. Here's what each term means, and an example of when it ...