A repository containing multiple small projects from my physics class, Scientific Modeling & Data Analysis, at the University of Mount Union that was taught by Dr. Colin Campbell.
This class utilizes libraries from Anaconda found here: https://www.anaconda.com/
Some exercises and problems come from "Learning Scientific Programming with Python" by Christian Hill.
Some code was provided by Dr. Colin Campbell and edited by Alec Barker.
It contains code for the following:
Barker HW1
: Simple math calculations and comparisonsBarker HW2
: Modified substrings and displayed values in a grid using an arrayBarker HW3-1
: Zipped two arrays together and sorted themBarker HW3-2
: Looped numbers in an array and found the product of every number except the current oneBarker HW3-3
: Found factorials using only even or only odd numbersBarker HW3-4
: Demonstrated Benford's Law with the Fibonacci SequenceBarker HW4-1
: Calculated Gauss's ConstantBarker HW4-2
: Listed prime numbers to 10,000Barker HW4-3
: Estimated area under a curve using random pointsBarker HW4-4
: Interactive two player tic-tac-toe gameBarker HW5-1
: Calculated the Earth Similarity Index (ESI) of multiple planets from a text fileBarker HW6-1
: Found if a number is a Harshad numberBarker HW6-2
: Calculated horizontal range and height of a 2D projectileBarker HW6-3
: Set up a system to query information from a text file of planetary informationBarker HW7-1
: Plotted curves on a graphBarker HW7-2
: Plotted an Archimedean spiral and logarithmic spiralBarker HW7-3
: Plotted the range and height of 2D projectiles at various anglesBarker HW8-1
: Displayed planetary information from a text file by using a dictionaryBarker HW8-2
: Compare values in two arraysBarker HW9-1
: Drew a Mandelbrot setBarker HW10-1
Barker HW10-2
: Plotted Dow Jones Industrial Average Index with various filters appliedBarker HW11-1
Barker HW12-1
: Computed definite integralsBarker HW12-2
: Computed a definite integralBarker HW12-3
: Computed a triple definite integralBarker HW13-1
: Graphed uniform and normal distributionsBarker HW13-2
: Plotted temperature data from 1995 to 2017 from many areas and compared themBarker HW14-1
: Plotted temperature data from 1995 to 2017 from many areas and found the parameters that best fits the curve of dataBarker HW14-2
- Exercise about graphing binding energy
- Exercise about binding energy
- Exercise about graphing points to determine area under a curve
- Notes about booleans
- Notes about conditional statements
- Notes about file input and output
- Notes about functions
- Notes about graphing data
- Notes about lists, tuples, and loops
- Notes about number data types
- Notes about the string data type