https://github.com/mshawon/numerical-method
Several numerical methods are provided here written in Python.
https://github.com/mshawon/numerical-method
curve data-fitting exponential-fitting fitting-curve least-sqaure-method least-square-regression numerical-methods python straight-line-fitting
Last synced: 7 months ago
JSON representation
Several numerical methods are provided here written in Python.
- Host: GitHub
- URL: https://github.com/mshawon/numerical-method
- Owner: MShawon
- License: gpl-3.0
- Created: 2020-05-15T00:28:30.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-16T16:34:10.000Z (over 4 years ago)
- Last Synced: 2025-01-15T07:27:53.284Z (9 months ago)
- Topics: curve, data-fitting, exponential-fitting, fitting-curve, least-sqaure-method, least-square-regression, numerical-methods, python, straight-line-fitting
- Language: Python
- Homepage:
- Size: 250 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Numerical-Method
**Numerical-Method:** Numerical methods, is approximation fast solution for mathematical problems. Such problems can be in any field in engineering. So any result you get from it is approximated not exact, it give you the solution faster than normal ones, also it’s easy to be programmed.
**Least-Squares-Method:** The method of least squares is a standard approach in regression analysis to approximate the solution of overdetermined systems by minimizing the sum of the squares of the residuals made in the results of every single equation. The most important application is in data fitting.
Following curve is used for data fitting:
1. Straight Line (y=mx+c)
2. Second Degree Parabola (y=ax2+bx+c or y=a+bx+cx2)
3. Exponential Equation (y=aebx)
4. Curve y=abx and
5. Another curve y=axb# Installation
* Python 3.x
Open command prompt and type
```bash
git clone https://github.com/MShawon/Numerical-Method.gitcd Numerical-Method
pip install -r requirements.txt
```
# Usage
Open command prompt in Numerical-Method folder and type
```
python leastSquareMethod.py
```

