Solution:
for photon
For electron
The kinetic energy of electrons is 10-20 J and the photons also have the same energy. The wavelengths associated with these particles are and respectively. These wavelengths are related in the following way
for photon
For electron