Based on problem 3.7 chapter 3 of Introduction to Seismology (Shearer) (COMPUTER) In the case of plane-wave propagation in the x direction within a uniform medium, the homogeneous momentum equation (3.9) for shear waves can be expressed as ,where u is the displacement. Write a computer program that uses finite differences to solve this equation... Continue Reading →

# Travel time curve calculation for spherical, isotropic, homogeneous Earth model

A travel time curve is a graph of the time it takes a seismic ray to reach the station from an earthquake versus the distance of the earthquake to the station (epicentral distance). Here, we calculate the travel time curve for a spherically homogeneous Earth. This means the seismic velocity is constant for the whole... Continue Reading →

# GNUPLOT (making animation)

GNUPLOT is very powerful set of programs for making graphs. Here, we see how can we use it for making animation and saving it in gif format. #!/bin/bash rm -f gnuplot.rot ###Making input file for the gnuplot for ((z=0; z<=360; z=z+5)) #for varying the longitude do cat >> gnuplot.rot <<! zrot=$z zview(zrot)=zrot set view xview(xrot),... Continue Reading →