Magnitude and Frequency of Earthquakes