Question: Required Filename q2_data_mining_earthquakes.cpp Problem In this particular study, Professor Lupoli collaborates with the USGS. The study is determining if the greater difference in S- waves
Required Filename q2_data_mining_earthquakes.cpp Problem In this particular study, Professor Lupoli collaborates with the USGS. The study is determining if the greater difference in S- waves during an earthquake event causes more destruction to homes and property. (The quicker the sudden jolt, the worse? Or is it a slow build that needs time to make the damage?) The data is literally in between consecutive indices in the data array. You will determine the absolute difference between indices. The result will always be positive when comparing the two values, so be careful on your simple math. (An example is shown below.) The example data has been placed in an array for you. Be careful not to go past the last index. Example Array index 912240,62,99 Array -12 21:22 1478 319 33 values Calculations Comparison V V Difference Note 1-122 14 Index 0 and I are compared 2-2 4 Index 1 and 2 are compared 3 -2 3 5 3 5 2 5 5 -4 9 -478 82 78 - 3 81 -3 19 22 1933 14 4 11 6 Na
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
