Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/amankanojiya/numerical_analysis

This Module is Numerical analysis, an area of mathematics and computer science that creates, analyzes, and implements algorithms for obtaining numerical solutions to problems involving continuous variables. Such problems arise throughout the natural sciences, social sciences, engineering, medicine, and business.
https://github.com/amankanojiya/numerical_analysis

contribution contributions-welcome gauss-seidel hacktoberfest iit india integration interpolation module numerical-analysis numpy pypi pypi-package pypi-packages python python3 scipy simpsons

Last synced: 3 months ago
JSON representation

This Module is Numerical analysis, an area of mathematics and computer science that creates, analyzes, and implements algorithms for obtaining numerical solutions to problems involving continuous variables. Such problems arise throughout the natural sciences, social sciences, engineering, medicine, and business.

Awesome Lists containing this project

README

        

# VERSION 1.0.1

![Alt text](./src_image/image.png)

[![Downloads](https://static.pepy.tech/badge/numerical-analysis-aman)](https://pepy.tech/project/numerical-analysis-aman)

[![Downloads](https://static.pepy.tech/badge/numerical-analysis-aman/month)](https://pepy.tech/project/numerical-analysis-aman)

[![Downloads](https://static.pepy.tech/badge/numerical-analysis-aman/week)](https://pepy.tech/project/numerical-analysis-aman)

# Numerical Analysis

This Module is Numerical analysis, area of mathematics and computer science that creates, analyzes, and implements algorithms for obtaining numerical solutions to problems involving continuous variables. Such problems arise throughout the natural sciences, social sciences, engineering, medicine, and business.

## New Added

- [Numerical-analysis](README.md)
- **[Vector](Vector.md)**

## Official Release

Pypi ,
Pepy

## How to Install

Pip install this module from your console

```bash

pip install numerical-analysis-aman

```

Import this module to your Work Space

```python

# Import In Python File
from Numerical_Analysis_Aman import
# =>> _MODULES_
# -> Numerical_Algebra
# -> Numerical_Analysis
# -> Numerical_Integration
# -> Numerical_Interpolation

# Import all
from Numerical_Analysis_Aman import *
```

## Explore (How It Works)

This at present contain 4 parts You can explore them from Below and have some
idea about all methods and Functions

### Numerical Integration

This part contain interpolation.
`x=Numerical_Analysis_Aman.Numerical_Integration(lower,upper,function)`

- `x.Trapazoid(itration=2)` Trapazoid Method
- `x.Simpson_13(itration=2)` Simpson 1/3
- `x.Simpson_38(itration=2)` Simpson 3/8

### Numerical Analysis

This part contain Integration Method having Three method

`x = Numerical_Analysis_Aman.Numerical_Analysis(x_0,y_0,x_given,gap,function)`

- `x.Eular( itration = 4 )` Eular
- `x.EularModified( itration = 4 )` EularModified
- `x.RungaKutta( itration = 4 )` RungaKutta

### Numerical Interpolation

This part contain Analysis Method having Four method

`x=Numerical_Analysis_Aman.Numerical_Interpolation(x_list,y_list,find_value)`

- `x.Langrangian()` Langrangian
- `x.Newton_Divided()` Newton Divided Differences
- `x.Newton_Forward()` Newton Forward
- `x.Newton_Backward()` Newton Backward

### Numerical Algebra

This part contain Analysis Method having Three method

`x=Numerical_Analysis_Aman.Numerical_Algebra(list_1,list_2,list_3)`

- `x.Jacobi(itration=6)` Jacobi
- `x.Gauss_Seidel(itration=6)` Gauss Seidel
- `x.Gauss_Seidel_4(list_4,itration=6)` Gauss Seidel for 4 variable

## Usage/Examples

Example and sample for input and how to work on it

```python

import Numerical_Analysis_Aman as na

x = na.Numerical_Integration(2,7,"1/(5*x+3)")
y = na.Numerical_Analysis(0,1,0.2,0.1,"((x**3)*(math.e**(-2*x))-(2*y))")
z = na.Numerical_Interpolation([1891,1901,1911,1921,1931],[46,66,81,93,101],1925)
w = na.Numerical_Algebra([10,1,-1,11.19],[1,10,1,28.08],[-1,1,10,35.61])

# All of them are Initiated at once you can use them individualy as per requirement

# default Itrations - 2
print(x.Trapazoid( ))
print(x.Simpson_13( ))
print(x.Simpson_38( ))

# default Itrations - 4
print(y.Eular( ))
print(y.EularModified( ))
print(y.RungaKutta( ))

print(z.Langrangian( ))
print(z.Newton_Divided( ))
print(z.Newton_Forward( ))
print(z.Newton_Backward( ))

# default Itrations - 6
print(w.Jacobi( ))
print(w.Gauss_Seidel( ))
# needed Additional list for 4 variable
# print(w.Gauss_Seidel_4(list_4))

```

## Contact

### Authors

- [@AmanKanojiya](https://www.github.com/AMANKANOJIYA)

If any Issue Contact Me through Email [email protected]

## license

[![MIT License](https://img.shields.io/apm/l/atomic-design-ui.svg?)](https://github.com/tterb/atomic-design-ui/blob/master/LICENSEs)

This repository is licensed under the MIT license.
See LICENSE for details.