Experimental study of photoelectric effect