
Ce module est une analyse numérique, un domaine des mathématiques et de l'informatique qui crée, analyse et met en œuvre des algorithmes pour obtenir des solutions numériques aux problèmes impliquant des variables continues. De tels problèmes surviennent dans les sciences naturelles, les sciences sociales, l'ingénierie, la médecine et les affaires.
PYPI, Pepy
PIP installe ce module à partir de votre console
pip install numerical-analysis-aman
Importez ce module dans votre espace de travail
# Import In Python File
from Numerical_Analysis_Aman import < Module >
# =>> _MODULES_
# -> Numerical_Algebra
# -> Numerical_Analysis
# -> Numerical_Integration
# -> Numerical_Interpolation
# Import all
from Numerical_Analysis_Aman import * Celui-ci contient actuellement 4 parties, vous pouvez les explorer par le bas et avoir une idée de toutes les méthodes et fonctions
Cette partie contient une interpolation.
x=Numerical_Analysis_Aman.Numerical_Integration(lower,upper,function)
x.Trapazoid(itration=2) Méthode Trapazoïdex.Simpson_13(itration=2) Simpson 1/3x.Simpson_38(itration=2) Simpson 3/8 Cette partie contienne une méthode d'intégration ayant trois méthodes
x = Numerical_Analysis_Aman.Numerical_Analysis(x_0,y_0,x_given,gap,function)
x.Eular( itration = 4 ) eularx.EularModified( itration = 4 ) eularModifiedx.RungaKutta( itration = 4 ) Rungakutta Cette partie contient une méthode d'analyse ayant quatre méthodes
x=Numerical_Analysis_Aman.Numerical_Interpolation(x_list,y_list,find_value)
x.Langrangian() Langrangianx.Newton_Divided() Newton Divisé les différencesx.Newton_Forward() Newton Forwardx.Newton_Backward() Newton en arrière Cette partie contient une méthode d'analyse ayant trois méthodes
x=Numerical_Analysis_Aman.Numerical_Algebra(list_1,list_2,list_3)
x.Jacobi(itration=6) Jacobix.Gauss_Seidel(itration=6) Gauss Seidelx.Gauss_Seidel_4(list_4,itration=6) Gauss Seidel pour 4 variable Exemple et échantillon pour la contribution et comment y travailler
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)) Si un problème, contactez-moi par e-mail [email protected]
Ce référentiel est concédé sous licence MIT. Voir la licence pour plus de détails.