Numerical Methods

Articles from classroom scratch of Numerical Methods for Engineering Students

To solve the linear equation using Gauss Elimination Method

Program to solve the linear equation using Gauss Elimination Method, the complete algorithm for Gauss Elimination Method is given below. The Gauss Elimination process involves two techniques for solving linear equation. The first one is forming upper triangular matrix by forward elimination and the second is using backward substitution method to find the unknown values. …

To solve the linear equation using Gauss Elimination Method Read More »

To write a program to calculate the roots of a quadratic equation ie ax^2+bx+c=0

Provided three coefficients a, b & c; this program can calculate the roots of a quadratic equation ie ax^2+bx+c=0. Simply check the code (we encourage you NOT to copy paste this code to the editor) below with the one you wrote yourself. For the complete lab report including background theory, algorithm, flow chart, along with …

To write a program to calculate the roots of a quadratic equation ie ax^2+bx+c=0 Read More »

To calculate the value of an integer using Trapezoidal rule both when functional values are both given and values NOT given independently

Trapezoidal rule can be applied to find the value of a limiting integer programmatically in both cases whether individual functional values are given or not. A complete algorithm follows the both process below. /********* Trapezoidal rule complete algorithm 1. start 2. read n= no of intervals 3. read initial and final values ie a,b 4. …

To calculate the value of an integer using Trapezoidal rule both when functional values are both given and values NOT given independently Read More »

Scroll to Top