A student performs an experiment on the photoelectric effect, using two materials A and B. A plot of Vstopversusν is given in the figure. 

(i) Which material A or B has a higher work function?
(ii) Given the electric charge of an electron =1.6×10-19 C, find the value of h obtained from the experiment for both A and B. 

Comment on whether it is consistent with Einstein's theory.