Giter Club home page Giter Club logo

phy299-class-assignments's Introduction

PHY299 Class Assignments

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:

Homework

  • Barker HW1: Simple math calculations and comparisons
  • Barker HW2: Modified substrings and displayed values in a grid using an array
  • Barker HW3-1: Zipped two arrays together and sorted them
  • Barker HW3-2: Looped numbers in an array and found the product of every number except the current one
  • Barker HW3-3: Found factorials using only even or only odd numbers
  • Barker HW3-4: Demonstrated Benford's Law with the Fibonacci Sequence
  • Barker HW4-1: Calculated Gauss's Constant
  • Barker HW4-2: Listed prime numbers to 10,000
  • Barker HW4-3: Estimated area under a curve using random points
  • Barker HW4-4: Interactive two player tic-tac-toe game
  • Barker HW5-1: Calculated the Earth Similarity Index (ESI) of multiple planets from a text file
  • Barker HW6-1: Found if a number is a Harshad number
  • Barker HW6-2: Calculated horizontal range and height of a 2D projectile
  • Barker HW6-3: Set up a system to query information from a text file of planetary information
  • Barker HW7-1: Plotted curves on a graph
  • Barker HW7-2: Plotted an Archimedean spiral and logarithmic spiral
  • Barker HW7-3: Plotted the range and height of 2D projectiles at various angles
  • Barker HW8-1: Displayed planetary information from a text file by using a dictionary
  • Barker HW8-2: Compare values in two arrays
  • Barker HW9-1: Drew a Mandelbrot set
  • Barker HW10-1
  • Barker HW10-2: Plotted Dow Jones Industrial Average Index with various filters applied
  • Barker HW11-1
  • Barker HW12-1: Computed definite integrals
  • Barker HW12-2: Computed a definite integral
  • Barker HW12-3: Computed a triple definite integral
  • Barker HW13-1: Graphed uniform and normal distributions
  • Barker HW13-2: Plotted temperature data from 1995 to 2017 from many areas and compared them
  • Barker HW14-1: Plotted temperature data from 1995 to 2017 from many areas and found the parameters that best fits the curve of data
  • Barker HW14-2

In-Class Activities

  • Exercise about graphing binding energy
  • Exercise about binding energy
  • Exercise about graphing points to determine area under a curve

Notes

  • 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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.