calculate the dividend paid on a portfolio of shares given the percentage dividend or dividend paid for each share, and compare share values by calculating a price-to-earnings ratio