Investigating the Photoelectric Effect