Question: python help please! 2. The energy in joules released for a particular Richter scale measurement is given by: E -101S)+4 where E is energy measured

python help please! 2. The energy in joules released for a particularpython help please!

2. The energy in joules released for a particular Richter scale measurement is given by: E -101S)+4 where E is energy measured in joules and r is the Richter scale measurement (typically on a scale from 1-10 as a floating point numbe). One ton of exploded TNT yields 4.184-109 Joules. Thus, you can relate the energy released in joules to tons of exploded TNT For each of the following Richter scale measurements (set up a for loop), write a Python function called "Richter .py with one input array and two outputs. The input is an array of Richter scale measurements and the output are arrays with the energy in Joules and tons of TNT 6.0 9.1 (Indonesia earthquake, 2004) 9.2 (Alaska earthquake, 1964) 9.5 (Chile earthquake, 1960; largest ever measured) Your function should also display to the screen a table with three columns of the data. The first column is the Richer scale measurement the second is the energy in Joules and the third column is the energy in tons of TNT. For the display make sure the data columns ine up

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!