An open API service indexing awesome lists of open source software.

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.

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.git

cd Numerical-Method

pip install -r requirements.txt
```

# Usage
Open command prompt in Numerical-Method folder and type
```
python leastSquareMethod.py
```

![alt text](https://github.com/MShawon/Numerical-Method/blob/master/Demo/welcome.png "Welcome screen")

![alt text](https://github.com/MShawon/Numerical-Method/blob/master/Demo/input.png "Input")

![alt text](https://github.com/MShawon/Numerical-Method/blob/master/Demo/output.png "Result")