A mass of 50g is attatched with one end of a spring o spring constant 10Nm^-1 whose other end is tied with a wall.Find the period and frequency of its oscillation.