Calculate percentage yield, percentage composition by mass and percentage purity, given appropriate data