Compute the distance of the epicenter from each of the stations using this formula: d = Td / 8 sec x 100km where d is the distance (km). Td is the time difference in the arrival time of P-wave and S-wave (seconds). This formula is suited because 8 seconds is the interval between the times of arrival of the P-wave at a distance of 100 km.