In an acoustics experiment, the frequency f of a sound wave is given by f(L)=L340, where L is the wavelength in meters. If the wavelength L is controlled by a machine such that L(t)=t2+1 (where t is time in seconds), find the maximum frequency generated by the machine.