Mechanism of earthquakes and synthesis of P wave seismagzams from explosions and earthquakes (Physics)