Displays periodic table and does some calculations