The Finite Element Method in Structural Dyamics with Applications to Earthquake and Moving Load Analysis