Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The exercise requires to create an earthquake prediction tool using earthquakes that have occurred in PR in the last 30 days, the screenshot informs the

image text in transcribed
image text in transcribed
The exercise requires to create an earthquake prediction tool using earthquakes that have occurred in PR in the last 30 days, the screenshot informs the fields that are being used for this exercise. All the steps are provided in the photo that i have submited
The programming language for this exercise must be on C++ For each line of code, you must also write a brief comment. Your project consists of the creation of an earthquake prediction tool. You will use data from the USGS provided here: Description CSV is a "comma separated values" ASCII text file. This feed adheres to the USGS Earthquakes Feed Lifecycle Policy Usage A simple text format suitable for loading data into spreadsheet applications like Microsoft Excel M. This is a good option for manual scientific analysis. Output Below are the fields included in the spreadsheet output: time latitude . longitude depth .mag .magType .nst . gap .dmin rms .net .id updated place type location Source magSource horizontalError depthError magError .magNst status Screenshot of the spreadsheet format loaded into Microsoft ExcelTM 21 128 72 123 1 time Latitude longitude depth mag magTypenst 2 2013-04-11T 20.7915 122 226 8.29 46 mb 46 2013-04-11T - 17.3579 175 0663 9.88 53 mb 2013-04-11T -17.4508 178.7735 $35.92 4.9 mb 5 2013-04-11T -16.9546 -179.1921 $28.46 4.5 Mb 2013-04-11T -10.6708 166 0755167 21 4.7 Mb 7 2013-04-11T 2.8643 125.4971 54.96 4.6 mb 8 2013-04-11T20.9199 122.1061 12.94 4.5 Mb 9 2013-04-11T1 2.7939 148.1628 9.39 4.6 mb 10 2013-04-11 19.2629 95.6948 10.07 5.2 Mwp 11 2013-04-11T41.6165 141.9924 5.27 4.6 Mb 12 2013-04-11T28 5074 51.6758 10.07 4,8 mb 13 2013-04-10T 18.854 97 5096 827 4.7 Mb 14 2013-04-10T20.8187 122,1203 42 5.8 Mww 15 2013-04-10T2.6017 127.2174 66.02 Sb 16 2013-04-10T 15.5366 87 228 10 SS.mb 17 2013-04-10T -10.7302 75.2622 99.62 5.2 Mb 18 2013-04-10T 177569 167.7868 104 .6. 19 2013-04-10T 28.5135 51.5523 9.93 4.6 20 2013-04-10T 28.438 5 1.738 9.87 5.2 Mb 21 2013-04-10T28.309 1.7514 10.06 4.8 mb 22 2013-04-10T 37.4728 142.0723 27.79 4.6 Mb 23 2013-04-10T 2 8.45 $1.6075 10.02 5.6 Mb 24 2013-04-10T269729 139.0662 55.19 4.8 mb 25 2013-04-10T 28.4814 S1.604 10 4.9 mb 26 2013-04-10 2.0824 79.5666 103.34 4.5 mb 27 2013-04-09T22.7541 69.1376 102 4.6 Mb 28 2013-04-09T 28.2759S1.6754 9.88 4.8 mb 29 2013-04-09T S.612993.3101 31.21 4.7 mb 30 2013-04-09T28.4201 51.6408 19.93 4.6 Mb 94 omin mms netid updated 115 228 1.21 us usbooog 50m 2013-04-11T 50 7 802 1.44 US usb0009426 2013-04-11T 8.56 0.71 us usbooogxf 2013-04-11T 9.06 0.84 US usbooOg4ug 2013-04-11T 102 6.16 0.8 us usboogs 2013-04-11T 2794 0.78 Us usboogerg 2013-04-11T 130 2.12 0.69 Us ubooogu 2013-04-11T 1.09 1.12 us usboo09409 2013-04-11T 2.14 0.98 us usbooOgenw 2013-04-11T 0.96 1.09 us usbooOgen 2013-04-11T 10.83 1.19 us usboog4mt 2013-04-11T 0.63 0.6 us usboog45 2013-04-11T 221 128 us usbooogtca 2013-04-10T 1.82 1.03 us usboot 2013-04-10T 1.471 0.85 us usboogta 2013-04-11T 1.99 0.77 US usb000943v 2013-04-10T 160 371171 0.87 us us2013nvap 2013-04-10T 10.877 0.97 us usbooOg3y3 2013-04-10T 10.87 1.03 us usbooogsts 2013-04-10T 10.974 0.95 Us usboog 3t2 2013-04-10T 3.23 1.17 us usboooge 2013-04-10T 10.91 1.14 US usboogp 2013-04-10T 681 1.6 US usboog3ns 2013-04-10T 139 10.883 0.83 US usboog Snn 2013-04-10T 113 2.56 0.5 us usboo0g3ng 2013-04-11T 110 11.11 0.55 us DOOO 3 2013-04-09T 86 11.034 0.68 us usboo093ft 2013-04-09T 139 3.641 0.61 us booogte 2013-04-09T 94 10.92 0.72 us usboog3d 2013-04-09T 25 61 Using earthquakes occurred in the last 30 days in the Puerto Rico area (as per latitude and longitude) including magnitude, location, and duration, you will generate a prediction of occurrence based on average occurrence by time for magnitudes less than 3, between 3 and 5, between 5 and 6, and stronger than 6 for the next seven days. The program must include at least one class. The programming language for this exercise must be on C++ For each line of code, you must also write a brief comment. Your project consists of the creation of an earthquake prediction tool. You will use data from the USGS provided here: Description CSV is a "comma separated values" ASCII text file. This feed adheres to the USGS Earthquakes Feed Lifecycle Policy Usage A simple text format suitable for loading data into spreadsheet applications like Microsoft Excel M. This is a good option for manual scientific analysis. Output Below are the fields included in the spreadsheet output: time latitude . longitude depth .mag .magType .nst . gap .dmin rms .net .id updated place type location Source magSource horizontalError depthError magError .magNst status Screenshot of the spreadsheet format loaded into Microsoft ExcelTM 21 128 72 123 1 time Latitude longitude depth mag magTypenst 2 2013-04-11T 20.7915 122 226 8.29 46 mb 46 2013-04-11T - 17.3579 175 0663 9.88 53 mb 2013-04-11T -17.4508 178.7735 $35.92 4.9 mb 5 2013-04-11T -16.9546 -179.1921 $28.46 4.5 Mb 2013-04-11T -10.6708 166 0755167 21 4.7 Mb 7 2013-04-11T 2.8643 125.4971 54.96 4.6 mb 8 2013-04-11T20.9199 122.1061 12.94 4.5 Mb 9 2013-04-11T1 2.7939 148.1628 9.39 4.6 mb 10 2013-04-11 19.2629 95.6948 10.07 5.2 Mwp 11 2013-04-11T41.6165 141.9924 5.27 4.6 Mb 12 2013-04-11T28 5074 51.6758 10.07 4,8 mb 13 2013-04-10T 18.854 97 5096 827 4.7 Mb 14 2013-04-10T20.8187 122,1203 42 5.8 Mww 15 2013-04-10T2.6017 127.2174 66.02 Sb 16 2013-04-10T 15.5366 87 228 10 SS.mb 17 2013-04-10T -10.7302 75.2622 99.62 5.2 Mb 18 2013-04-10T 177569 167.7868 104 .6. 19 2013-04-10T 28.5135 51.5523 9.93 4.6 20 2013-04-10T 28.438 5 1.738 9.87 5.2 Mb 21 2013-04-10T28.309 1.7514 10.06 4.8 mb 22 2013-04-10T 37.4728 142.0723 27.79 4.6 Mb 23 2013-04-10T 2 8.45 $1.6075 10.02 5.6 Mb 24 2013-04-10T269729 139.0662 55.19 4.8 mb 25 2013-04-10T 28.4814 S1.604 10 4.9 mb 26 2013-04-10 2.0824 79.5666 103.34 4.5 mb 27 2013-04-09T22.7541 69.1376 102 4.6 Mb 28 2013-04-09T 28.2759S1.6754 9.88 4.8 mb 29 2013-04-09T S.612993.3101 31.21 4.7 mb 30 2013-04-09T28.4201 51.6408 19.93 4.6 Mb 94 omin mms netid updated 115 228 1.21 us usbooog 50m 2013-04-11T 50 7 802 1.44 US usb0009426 2013-04-11T 8.56 0.71 us usbooogxf 2013-04-11T 9.06 0.84 US usbooOg4ug 2013-04-11T 102 6.16 0.8 us usboogs 2013-04-11T 2794 0.78 Us usboogerg 2013-04-11T 130 2.12 0.69 Us ubooogu 2013-04-11T 1.09 1.12 us usboo09409 2013-04-11T 2.14 0.98 us usbooOgenw 2013-04-11T 0.96 1.09 us usbooOgen 2013-04-11T 10.83 1.19 us usboog4mt 2013-04-11T 0.63 0.6 us usboog45 2013-04-11T 221 128 us usbooogtca 2013-04-10T 1.82 1.03 us usboot 2013-04-10T 1.471 0.85 us usboogta 2013-04-11T 1.99 0.77 US usb000943v 2013-04-10T 160 371171 0.87 us us2013nvap 2013-04-10T 10.877 0.97 us usbooOg3y3 2013-04-10T 10.87 1.03 us usbooogsts 2013-04-10T 10.974 0.95 Us usboog 3t2 2013-04-10T 3.23 1.17 us usboooge 2013-04-10T 10.91 1.14 US usboogp 2013-04-10T 681 1.6 US usboog3ns 2013-04-10T 139 10.883 0.83 US usboog Snn 2013-04-10T 113 2.56 0.5 us usboo0g3ng 2013-04-11T 110 11.11 0.55 us DOOO 3 2013-04-09T 86 11.034 0.68 us usboo093ft 2013-04-09T 139 3.641 0.61 us booogte 2013-04-09T 94 10.92 0.72 us usboog3d 2013-04-09T 25 61 Using earthquakes occurred in the last 30 days in the Puerto Rico area (as per latitude and longitude) including magnitude, location, and duration, you will generate a prediction of occurrence based on average occurrence by time for magnitudes less than 3, between 3 and 5, between 5 and 6, and stronger than 6 for the next seven days. The program must include at least one class

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

=+What kind of question would you ask to encourage their response?

Answered: 1 week ago

Question

=+Does it keep the visitor reading?

Answered: 1 week ago