README date: March 23, 2025
Scientific Computing course assignments. Group consist of: Liesbet Ooghe, Frederieke Loth, Kushnava Singha
This code is written for assignment 3 of Scientific Computing, a UvA Course.
'\src' contains files with functions to run the code
- direct.py: Contains function to solve the diffusion equation using direct methods
- eigenvalue_problem.py: This code holds functions to solve and visualize the eigenvalue problem.
- leapfrog.py: Implements a 1D Harmonic Oscillator using Leapfrog method
- phase.py: Contains functions to simulate a simplate harmonic oscillator under the influence of an external driving force.
'\results' contains output files with animations and images.
The code was run on Python 3.12 Libraries IPython.display, numpy, time, scipy, matplotlib
By running the run.ipynb you can run the neccesary code for the assignment. Please note that some cells may run for longer than 1 minute.
After running the simulations, the results are given in the run.ipynb file and/or the \results folder.
This project aims to investigate the use of a variety of methods to solve different types of partial differential equations (PDEs) for spatial and time-dependent solutions.