This project provides implementations of numerical methods to solve ordinary differential equations (ODEs). It includes several solvers such as the fourth-order Runge-Kutta method and integrates with the scipy
library's odeint
function.
-
Clone the repository to your local machine:
git clone <repository-url>
-
Create a virtual environment (optional but recommended):
python -m venv env
-
Activate the virtual environment:
- On Windows:
.\env\Scripts\activate
- On macOS and Linux:
source env/bin/activate
-
Install the required dependencies:
pip install -r requirements.txt
The project offers several functionalities that can be accessed through the provided Python script. Here are the available options:
- Compare ODE integration methods with scipy library
- Plot motion of a pendulum with different time intervals
- Compare different Runge-Kutta methods
- Benchmark Methods
To run the script, execute the following command:
python Ranga_Kutta_4.py