Category: Mathematics

08
Dec
2014

C code using lagrange method

Problem: The population of a town is given below as thousands Year            : 1891  1901  1911  1921 …

08
Dec
2014

C code using Backward Interpolation

Problem: The population of a town is given below as thousands Year            : 1891  1901  1911  1921 …

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:…