This repository is a collection of MATLAB scripts for numerical differentiation, numerical integration, and numerical interpolation.
MATLAB code is provided for the following tasks respectively:
Note: Originally ran in MATLAB R2017a
- Absolute and relative error calculation (Errors.m)
- Taylor polynomial creation (Taylor_Series.m)
- Basic differentiation and integration (Basics.m)
- Bisection method (Bisection.m)
- Newton method (Newton.m)
- Newton-Horner method (Newton_Horner.m)
- Regula Falsi (Regula_Falsi.m)
- Secant Method (Secant.m)
- 1st order Euler (Euler.m)
- Modified Eueler (Mod_Euler.m)
- 2nd order Euler (Euler2.m)
- 2nd order Runge-Kuta (RK1.m)
- 2nd order Runge-Kuta (RK2.m)
- 4th order Runge-Kuta (RK4.m)
- Basic Simpson Rule (Simpson.m)
- Basic Trapesium Rule (Trapesium.m)
- Composite Simpson Rule (Comp_Simpson.m)
- Composite Trapesium Rule (Comp_Trapesium.m)
- Gauss Quadratures (Gauss.m)
- Midpoint Rule (Midpoint.m)
- Romberg Integration (Romberg.m)
- Cubic Spline (Cubic_Spline.m)
- Lagrange (Lagrange.m)
- Newton (Newton_Interpolation.m)