Effect of frequency variation on electromagnetic pulse interaction with charges and plasma