A weightless spring of length 60 cm and force constant 100 N m^−1 is kept straight and unstretched on a smooth horizontal table and its ends are rigidly fixed. A mass of 0.25 kg is attached at the middle of the spring and is slightly displaced along the length. The time period of the oscillation of the mass is: