Numerical Methods

21
Name : Roll No : Depa rtme nt : Clas s: Programin Piyush Bansal 001311501004 Power 1 st Year Numerical Analysis

description

Important Numerical Method Programs

Transcript of Numerical Methods

Piyush Bansal001311501004

Power1st YearNumerical AnalysisName : Roll No : Department :Class: Subject :Programing In C

Q1. To find the the results of simultaneous linear equations using Gauss Seidel MethodContents

Q2.Program by Euler MethodQ3.Program on Runge-Kutta methodQ4.Program on Gauss Elimination MethodQ5.Program on Regula-Falsi MethodQ6.Program on Newton Raphson methodQ7.Program on Bisection Method

Q1. To find the the results of simultaneous linear equations using Gauss Seidel Method#include#define EPS 0.0005float a[90][90],b[90],x[90];void Seidel(float [][90],float [],int,int);int main(){int i,j,n,M;printf(" Enter the number of variables(Max 90) in the equation :- ");scanf("%d",&n);printf(" Enter the coefficients of the equations :- \n");for(i=0;i