Thread: solve a problem with shell script

Started: 2017-03-25 10:25:13
Last activity: 2017-03-25 10:25:13
Topics: SAC Help
pragyant prada behera
2017-03-25 10:25:13
Hello,
I have been given a question to-
Write on shell-script to Calculate H and Vp/Vs ratio of the two attached
Receiver functions using Zhu-Kanamori mentod.
Assume Vp=6.4 km/s. Ray parameter is stored in user4.

I have attched 3 files that i have been given.
Can you please help me to solve this problem in a detailed manner?

info you may need-
w 1 = 0.6, w 2 = 0.3 and w 3 = 0.1
average crustal P wave velocity (Vp) is chosen to be 6.4 km/s. H and
Vp/Vs ratio are allowed to vary from 20-80 km (with 0.05 km increment) and
1.6-2.0 (with 0.002 increment) respectively.
S ( H , Vp / Vs )=
N
∑ [ w 1 r i ( t 1) + w 2 r i( t 2) + w 3 r i( t 3)]
i=1
please explain this how does this thing will work and how to solve problem.

12:44:59 v.f0c1234e