Skip to content

Anish-Sarkar-1001/basic-python-numerical-functions

Repository files navigation

Readme

Introduction

This is a basic python module for beginners demonstrating different numerical techniques which include:

  • Integration
    • Trapezoidal
    • Simpsons 1/3
    • Simpsons 3/8
    • First order euler
    • RK 2
    • RK 4
  • Differentiation
    • First principle
  • Interpolation
    • Polynomial interpolation
    • Linear spline interpolation
    • Quadratic spline interpolation
    • Newton Divided Difference Polynomial
  • Root finding
    • Bisection
    • Newton Raphson
    • Secant
  • Polynomial generation
  • Error
    • True
    • Absolute
    • Relative
    • Percentage
    • Precision
  • Taylor series
  • Regression
    • Polynomial
    • Exponential
    • Power law All these support diffrent algorithms and are flexibe

Instructions

  • Copy and paste the module to the location of your file
  • Import the module as
 import numerics as nm
  • Follow the examples.ipynb and example.pdf on how to use the module