This repository contains the python prgrams for all the labs of PHY407 during the fall 2022 semester. Each sub-directory holds all the work done for a specific lab, where every question has its corresponding python script. In addition to the python scripts, every sub-directory has a written report that explains the physical process being simulated and/or studied as well as a discussion into the computational aspects of it.
- Lab 1: Basic Pyhton
- Modelling Planetary Orbits Through Euler-Cromer Method
- Modelling Three Body Problem
- Timing Matrix Multiplication
- Lab 2: Numerical Errors and Integration
- Understanding Numerical Errors
- Calculating Stefan-Boltzmann Constant
- Simpson Rule and Trapezoidal Methods of Integration
- Exploring Nature of Roundoff Errors
- Lab 3: Further Numerical Methods
- Numerical Differentiation Errors
- Period of Relativistic Particle on a Spring
- Calculating Quantum Mechanical Observable
- Lab 4: Solving Linear Systems
- Asymmetric Quantum Well
- Solving Linear Systems
- Solving Non-Linear Systems
- Lab 5: Discrete Fourier Transforms
- Revisiting Relativistic Spring
- Analysis of Sea Level Pressure
- Audio Filtering
- Lab 6: Molecular Dynamics
- Molecular Trajectories Simulations
- Molecular Dynamics Siulations
- Lab 7: Shooting Method for Boundary Value Problems
- Space Garbage
- Hydrogen Atom
- Lab 8: Flux Conservative PDE's
- Simulating Shallow Water System
- Electrostatics and Laplace's Equation
- Lab 9: Spatial Discretisation, Crank-Nicolson time stepper, Spectral Solutions
- Time-Dependent Shrondinger Equation
- Simulating Resonant Electro-Magnetic Cavity
- Lab 10: Random Processes
- Brownian Motion and Diffusion Limited Aggregation
- Volume of Hyper-sphere in 10 Dimensions
- Time Dependent Shrodinger Equation