This section entitled Numerical Methods tutorial consists of source code of various topics in Numerical Methods using C and MATLAB programming. Numerical Methods or Numerical Analysis is a subject included in all types of engineering curriculum around the world. So, we hope this compilation will help students from different backgrounds and fields. You can go to the link of each topic and sub-topic to view the respective programs in C and MATLAB, along with the algorithm and flowchart of these topics.
Programs written in C and MATLAB are fast and efficient. So, C and MATLAB are the most common languages used in analysis of problems in Numerical Methods. Here, we’ve linked all the Numerical Methods topics we’ve so far discussed in this site.
Each topic is provided with a brief explanation, mathematical derivation, numerical example, source code, and the corresponding sample input/output. The source codes, algorithms and flowcharts have been presented in simple and understandable way as far as possible.
Topics on Numerical Methods:
Finding the Root of a Nonlinear Function:
- Bisection Method: C Program, MATLAB Program, Algorithm and Flowchart
- Newton Raphson Method: C Program, MATLAB Program, Algorithm and Flowchart
- Regula Falsi Method: C Program, MATLAB Program, Algorithm and Flowchart
- Secant Method: C Program, MATLAB Program, Algorithm and Flowchart
- Fixed Point Iteration Method: C Program, Algorithm and Flowchart
- Muller’s Method: C Program, Algorithm and Flowchart
Solving Linear Simultaneous/Algebraic Equations:
- Gauss Elimination Method: C Program, MATLAB Program, Algorithm and Flowchart
- Gauss Jordan Method: C Program, Algorithm and Flowchart
- Lu Factorization: C Program, Algorithm and Flowchart
- Gauss Seidal/Jacobi Method: C Program, MATLAB Program, Algorithm and Flowchart
- Power Method: C Program, MATLAB Program, Algorithm and Flowchart
Interpolation and Curve Fitting:
- Lagrange Interpolation: C Program
- Newton’s Forward Interpolation: C Program
- Newton’s Divided Difference: C Program
- Curve Fitting – Linear and Exponential: C Program
Numerical Differentiation and Integration:
- Simpson’s 1/3 Rule: C Program, MATLAB Program
- Trapezoidal Method: C Program, MATLAB Program, Algorithm and Flowchart
Solution of Ordinary Differential Equation:
- Euler’s Method: C Program, MATLAB Program, Algorithm and Flowchart
- Modified Euler’s Method: C Program, MATLAB Program, Algorithm and Flowchart
- Runge Kutta Method: C Program, MATLAB Program
- Shooting Method: C Program
Solution of Partial Differential Equation:
- Solution of Laplace Equation: C Program
- Solution of Heat Equation: C Program
- Solution of Wave Equation: C Program
All the source code in C program for the aforementioned Numerical Methods Tutorial are compiled in Code::Blocks IDE using GCC compiler. So, running the program in Turbo C or any other platform may produce errors, and might require some modifications to the code.
You questions and feedback regarding any topics or program, can be brought up to us from the comments or you can drop a mail at codewithc2014@gmail.com.
do you solve for schordinger wave equation also