#include<stdio.h>
#include<conio.h>
void main()
int n,i,j,dum;
We provide Engineering,HSEB notes, tutorials which can be helpful for students during college life.
Showing posts with label C Programming. Show all posts
Showing posts with label C Programming. Show all posts
Friday, April 10, 2015
Simpson's 3/8 Rule in C program
#include<stdio.h>
#include<conio.h>
#include<math.h>
#define f(x) 1/x
void main()
{
#include<conio.h>
#include<math.h>
#define f(x) 1/x
void main()
{
C Program for RK4-Method
#include<stdio.h>
#include<conio.h>
#include<math.h>
#define f(x,y) 2*y/x
#define h 0.25
void main()
{
int i,n;
#include<conio.h>
#include<math.h>
#define f(x,y) 2*y/x
#define h 0.25
void main()
{
int i,n;
Differential Equation by Euler's Method
#include<stdio.h>
#include<conio.h>
#define f(x,y) (3+x*x+1)
void main()
{
#include<conio.h>
#define f(x,y) (3+x*x+1)
void main()
{
Secant Method in C Programming
#include<stdio.h>
#include<conio.h>
#include<math.h>
#define f(x) x*x*x*x-4*x+1
#define E 0.0001
#include<conio.h>
#include<math.h>
#define f(x) x*x*x*x-4*x+1
#define E 0.0001
Algorithm for Gauss-Jordan Elimination
1.Normalize the first row by dividing it by its pivot element.
2.Eliminate x1 from all other equations.
3.Now normalize the 2nd equation by dividing by its pivot
element.
2.Eliminate x1 from all other equations.
3.Now normalize the 2nd equation by dividing by its pivot
element.
Bisection method in C Programming.
#include<stdio.h>
#include<math.h>
#include<conio.h>
#define f(x) x*x-6*x+3
#define E 0.0001
#include<math.h>
#include<conio.h>
#define f(x) x*x-6*x+3
#define E 0.0001
Subscribe to:
Posts (Atom)