# c programs

## C Program implementing Lagrange Interpolation Formula (Numerical Computing)

In numerical analysis, Lagrange polynomials are used for polynomial interpolation. For a given set of distinct points Xi and numbers Yi, the Lagrange polynomial is the polynomial of the least degree that at each point Xj assumes the corresponding value Yj (i.e. the functions coincide at each point). The interpolating polynomial of the …

## C Program implementing the Bisection Method ( Numerical Computing )

First read Bisection Method Algorithm and Flowchart [Numerical Computing] Method 1: This program in C is used to demonstrate bisection method. Bisection method is one of the many root finding methods. In this method we are given a function f(x) and we approximate 2 roots a and b for the …

## C++ Program to calculate Date of Birth with Age given using Class

Concept: In this C++ program, problem is to calculate date of birth with Age and present date given using concepts of class in c++. This program calculates and prints date of birth in Year/Month/Day format. Function calc_DOB in this program first finds age in (YY/MM/DD) format

## C++ Program to find Age and Days With Date of Birth Given using Class

Concept: In this C++ Program the problem is to find age and days of birth when Date of Birth and present date …

## Use of Structures in C Programming ‘struct’

So far I think you have already read our tutorial on ‘Understanding Use of Arrays in C Programming. Unlike array, a structure …

## C++ Program on Temperature Conversion ‘Celsius to Kelvin to Fahrenheit’

This program will let you convert temperature from one unit to other unit. The first program will convert Celsius to Kelvin. The …

## C++ Project on Library Management System

This project of “ LIBRARY MANAGEMENT SYSTEM” of gives us the complete information about the library. We can enter the record of …

## Calculate Factorial of the integer – C program – Code

Logic for finding Factorial Let n=5 be the number then, Factorial = 5 x 4 x 3 x 2 x 1 = …

## Binary Search of an sorted array using C Program Code & Algorithm

Definition: Binary Search is used for searching in a sorted array in C programming. This search method tests the middle element of …

## C Program – Code – Area and Volume of Square, Rectangle, Circle and Triangle

Description: This program in C finds out the Area and Volume of Square, Rectangle, Circle and Triangle.