The threshold frequency for a metal is \(3.0 \times 10^{14}\ \text{Hz}\). A beam of frequency \(9.0 \times 10^{14}\ \text{Hz}\) is incident on the metal. Calculate (i) the work function (in eV) of the metal and (ii) the maximum speed of photoelectrons.