Skip to content

bhver3593/EarthquakeAnalysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EarthquakeAnalysis

EarthquakeAnalysis is a Python application that provides information on earthquakes by generating random Richter Scale values and using these values to determine the amount of energy produced, their shaking values, and their impacts on the environment.

What I learned

  • Modular programming
  • Utilizing a random number generator to generate numbers within a specified range
  • Reading and writing to text files
  • Processing lists
  • Exception handling

How It Works

  • After running the application, 20 random Richter values are generated and written to a text file
  • The Richter values are read from the text file and used to calculate the amount of energy produced, the earthquakes' intensities on the Modified Modified Mercalli Scale, the levels of shaking produced, and their environmental impacts
  • All 20 earthquake analyses are displayed and written to a separate text file

RichterValues EarthquakeAnalysis ResultsOutfile

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages