## Linear Spline – Piecewise Interpolation [C PROGRAM]

Lagrange or Newton polynomial interpolations are useful interpolation techniques to have in your sleeves, but they don’t always give the best or desired…

## Gauss Elimination – EXERCISES [C Programming]

In this post we will be doing a few problems on Gauss-Elimination. These problems/exercises were given in my Numerical Analysis class. These will…

## Modifying Gauss-Elimination for Tridiagonal Systems – C PROGRAM

There are many situations in numerical analysis where we deal with tridiagonal systems instead of a complete set of equations. Therefore, using the…

## Hilbert Matrix – C PROGRAM

A Hilbert matrix is defined as: where and Example: In this post I have written a code that generates Hilbert matrices using C…

## Transpose of a Matrix – C PROGRAM

The transpose of a matrix is the matrix obtained by replacing all elements with The following C code let’s the user enter a…

## Determining Roots of Legendre Polynomials and their weights for Gaussian Quadrature – C PROGRAM

Gaussian Legendre quadrature/ Gauss-Legendre quadrature is a numerical technique used to calculate the definite integral of a function. This is done by evaluating…

## Determinant of a Matrix – C PROGRAM

Recently, I wrote a blog-post on how to perform Gaussian Elimination to reduce a matrix to the echelon form and solve a system…