did you set Kmax = V instead of Kmax = Vq because we would eventually be dividing by q to convert into electron volts? however q is -1.602*10^-19, not 1.602*10^-19
if we assume that after division, a coefficient of -1 still remains as the charge is negative, we end up with the 3.282 eV result...