Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hamzakamelen/numerical-integration
Numerical Integration - Midpoint, Trapezoid, Simpson's 1/3 and Simpson 3/8 Rule using Python
https://github.com/hamzakamelen/numerical-integration
matplotlib-pyplot midpoint-method numerical-analysis numerical-integration python scipy simpson-1-3 simpson-3-8 streamlit trapezoidal-method
Last synced: 3 months ago
JSON representation
Numerical Integration - Midpoint, Trapezoid, Simpson's 1/3 and Simpson 3/8 Rule using Python
- Host: GitHub
- URL: https://github.com/hamzakamelen/numerical-integration
- Owner: hamzakamelen
- License: mit
- Created: 2024-06-30T11:34:00.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-07-23T12:02:04.000Z (6 months ago)
- Last Synced: 2024-10-15T17:29:23.635Z (3 months ago)
- Topics: matplotlib-pyplot, midpoint-method, numerical-analysis, numerical-integration, python, scipy, simpson-1-3, simpson-3-8, streamlit, trapezoidal-method
- Language: Python
- Homepage: https://numerical-integration-duet-project.streamlit.app/
- Size: 15.1 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Numerical Integration Methods
This is a university *4th* Semester project that implements various numerical integration methods including *Midpoint, Trapezoid, Simpson's 1/3 and Simpson 3/8* using Python and Streamlit.
#### Note: This is Team/Group Project
#### Team Members
- Hamza Kamelen
- Muzamil Khalid
- Wajahat Tariq
- Moiz Mansoori
- Rayyan Ahmed
- Muhammad Sami## Overview
This project provides an interactive web application to demonstrate and compare different numerical integration techniques, including:
- Midpoint Rule
- Simpson's 1/3 Rule
- Simpson's 3/8 Rule
- Trapezoidal RuleThe application allows users to input custom functions or discrete data points and visualizes the integration process.
## Features
- Interactive user interface built with Streamlit
- Support for both continuous functions and discrete data points
- Real-time calculation and visualization of integration results
- Comparison of estimated values with actual integrals (for continuous functions)
- Error calculation and display## Requirements
To run this project, you need the following Python libraries:
- streamlit
- numpy
- matplotlib
- scipyYou can install these dependencies using the provided `requirements.txt` file.
## Usage
1. Clone this repository
2. Install the required dependencies:
3. pip install -r requirements.txt
4. Run the Streamlit app:## Project Structure
- `main.py`: The main Streamlit application
- `Trapezoidal.py`: Implementation of the Trapezoidal Rule
- `simpson_1_3.py`: Implementation of Simpson's 1/3 Rule
- `simpson_3_8.py`: Implementation of Simpson's 3/8 Rule
- `midpoint.py`: Implementation of the Midpoint Rule
- `requirements.txt`: List of required Python packages## License
This project is open-source and available under the MIT License.