Category: Numerical Method

08
Dec
2014

C code using Gauss Seidel Method

Problem: Solve the following systems using gauss seidel method 5×1-x2-x3-x4=-4 -x1+10×2-x3-x4=12 -x1-x2+5×3-x4=8 -x1-x2-x3+10×4=34 Code: #include<stdio.h> #include<conio.h> #include<math.h>…

08
Dec
2014

C code using Euler Method

Problem: Here we have to find dy/dx=x+y where y(0)=1 at the point x=0.05 and x=0.10 taking h=0.05…

08
Dec
2014

C code using Runge-Kutta 4th order method

Problem: Here we have to find y(0,2) and y(0,4), Given dy/dx=1+y^2 where y=0 when x=0 Algorithm: Step…

27
Nov
2014

C code for newton-raphson method

Problem: Here we have to find root for the polynomial x^3-8*x-4 upto 6D(decimal places) Solution in C:…

27
Nov
2014

C code using Weddle’s rule

Problem: Here we have to find integration for the (1/1+x*x)dx with lower limit =0 to upper limit…

27
Nov
2014

C code using Trapezoidal Rule

Problem: Here we have to find integration for the (1/1+x*x)dx with lower limit =0 to upper limit…