Time period = t/Number of oscillations in time t = 4/40 = 0.1 sFrequency = 1/Time period = 1/0.1 = 10 Hz