https://www.prof-eng.net/2016/05/seismic-program-using-formula-zicks_36.html