n = number of peaks passed a particular point = 5
t = time taken by the peaks to pass a particular point = 1 sec
f = frequency of the wave
by definition , frequency is the repetition of an event in a given interval of time.
we know that frequency is given as
f = n/t
inserting the values
f = 5/1
f = 5 Hz
hence the frequency of the wave comes out to be 5 Hz