Integration of SH model using semi-spectral method and finite differences method