Calculates the average power of a pulsed laser as a function of the energy per pulse and of the repetition rate.