Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

3. (a) (b) The energy in joules released for a particular Richter scale measurement is given by: E = 10(1.5*r)+4.8 where E is energy

The energy in joules released for a particular Ric

3. (a) (b) The energy in joules released for a particular Richter scale measurement is given by: E = 10(1.5*r)+4.8 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 number). One ton of exploded TNT yields 4.184x10 joules. Thus, you can relate the energy released in joules to tons of exploded TNT. For each of the following Richter scale measurements, your python script will perform the appropriate calculations and display the equivalent amount of energy in joules and in tons of exploded TNT using a series of print statements: 1.0 5.0 9.1 (Indonesia earthquake, 2004) 9.2 (Alaska earthquake, 1964) 9.5 (Chile earthquake, 1960; largest ever measured) Your program will then prompt the user to enter a Richter scale measurement, accept a floating point value representing that measurement, perform the appropriate calculations, and display the equivalent amount of energy in joules and in tons of exploded TNT for that user-selected value.

Step by Step Solution

3.46 Rating (153 Votes )

There are 3 Steps involved in it

Step: 1

a def tonTNTr E1015r148 tntE4189109 print tnt ret... 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

University Physics with Modern Physics

Authors: Hugh D. Young, Roger A. Freedman, Lewis Ford

12th Edition

978-0321501479, 9780805321876, 321501470, 978-0321501219

More Books

Students also viewed these Programming questions