## Eigen Value and Eigen Vector of a matrix by Iterative Method- C++ Program

#include<iostream> #include<iomanip> #include<cmath> using namespace std; int main() { cout.precision(2); cout.setf(ios::fixed); int n,i,j; cout<<"\nEnter the order of the matrix:\n"; //Get the order of…

## C++ Program to locate a no. in a list

//To locate a number in a list #include <iostream> using namespace std; int main() { int i,n; double x; cout<<"Enter the size of…

## Factorial (Lab Write Up, with algorithm and flowchart)

Manas SharmaPhD researcher at Friedrich-Schiller University Jena, Germany. I’m a physicist specializing in theoretical, computational and experimental condensed matter physics. I like to…

## C++ Program for Exponential Fitting (Least Squares)

//Exponential Fit #include<iostream> #include<iomanip> #include<cmath> using namespace std; int main() { int i,j,k,n; cout<<"\nEnter the no. of data pairs to be entered:\n"; //To…

## C++ Program for Polynomial Fit (Least Squares)

//Polynomial Fit #include<iostream> #include<iomanip> #include<cmath> using namespace std; int main() { int i,j,k,n,N; cout.precision(4); //set precision cout.setf(ios::fixed); cout<<"\nEnter the no. of data pairs…

## C++ Program to Linear Fit the data using Least Squares Method

//Linear Fit #include<iostream> #include<iomanip> #include<cmath> using namespace std; int main() { int i,j,k,n; cout<<"\nEnter the no. of data pairs to be entered:\n"; //To…

## C++ Program for Gauss-Elimination for solving a System of Linear Equations

//Gauss Elimination #include<iostream> #include<iomanip> using namespace std; int main() { int n,i,j,k; cout.precision(4); //set precision cout.setf(ios::fixed); cout<<"\nEnter the no. of equations\n"; cin>>n; //input…

## Backward Difference Table – C++ Program

//Backward Difference #include<iostream> #include<iomanip> using namespace std; int main() { cout.precision(5); //set precision cout.setf(ios::fixed); int i=0,j=0,n,k=0; cout<<"\nEnter the number of values to be…