Bond-yield calculator