Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The Richter scale is a measure of the intensity of an earthquake. The magnitude NM (unitless) of an earthquake as measured on the Richter scale
The Richter scale is a measure of the intensity of an earthquake. The magnitude NM (unitless) of an earthquake as measured on the Richter scale is M = log10 where Eo = 104.4 Joules is a constant (energy of a small reference earthquake). Write a program that takes as input (from the user) the magnitude of two earthquakes and outputs the energy difference between them. Check your answer using a magnitude 6.8 (Guatemala, 2017) and 9.0 (Japan, 2011) earthquake. Format your output in scientific notation. Self-check: Difference is x.x39xxxe+xx The Richter scale is a measure of the intensity of an earthquake. The magnitude NM (unitless) of an earthquake as measured on the Richter scale is M = log10 where Eo = 104.4 Joules is a constant (energy of a small reference earthquake). Write a program that takes as input (from the user) the magnitude of two earthquakes and outputs the energy difference between them. Check your answer using a magnitude 6.8 (Guatemala, 2017) and 9.0 (Japan, 2011) earthquake. Format your output in scientific notation. Self-check: Difference is x.x39xxxe+xx
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started