Mathematics »

C program of Matrix Multiplication using Pointers

Mr Coder February 15, 2013 1

C program of Matrix Multiplication using Pointers : Let us discuss how to multiply M x N matrix using a C program. First of all we need to understand how an M x N

Read More »

C program to convert Roman Number to Decimal Number

Mr Coder November 5, 2012 2

C program to convert Roman Number to Decimal Number : In my previous code, we have learned how to write a C program to convert Decimal number to Roman Number. Today we will learn

Read More »

C program to find Inverse of Matrix

Mr Coder September 17, 2012 16

C program to find Inverse of Matrix : For a square matrix A, the inverse matrix is written A-1. When A is multiplied by A-1 the result is the identity matrix I. Non-square matrices

Read More »

C program to find roots of quadratic equation

Mr Coder September 16, 2012 6

C program to find roots of quadratic equation : In mathematics, quadratic equation is second degree univariate polynomial equation. A general quadratic equation can be represented by : where a, b and c are

Read More »

C Program of Set Operations in Maths

Mr Coder September 8, 2012 3

C program of set operations in Maths : A set in mathematics is a collection of well defined and distinct objects, considered as an object in its own right. In the below program, i have

Read More »

C program to Print Pascal Triangle | C code champ

Mr Coder August 25, 2012 12

C program to print pascal triangle : In our previous code, we have seen how to draw a pyramid using C program. Now we will see how to extend our previous logic to print

Read More »

C program of Newton Backward Interpolation Formula

Mr Coder August 25, 2012 12

C program of Newton Backward Interpolation formula : Newton has proposed several methods of estimating the values of any number at certain point by learning the behavior of previous values. Newton’s Backward interpolation formula

Read More »

C program of Booth’s multiplication algorithm

Mr Coder August 23, 2012 1

C program of booth’s multiplication algorithm : Booth’s multiplication algorithmis a multiplication algorithm that multiplies two signed binary numbers in two’s complement notation. (source : Wikipedia)  Booth’s algorithm can be implemented by repeatedly adding

Read More »

C program of Newton Raphson Method | C code champ

Mr Coder August 20, 2012 9

C program of Newton Raphson Method : Newton Raphson method is a method of approximating a root of the polynomial equation also called the method of tangents. In Newton’s method, the initial (“first”) approximation

Read More »

C program of Regula Falsi method to find root

Mr Coder August 20, 2012 1

C program of Regula Falsi method to find root of polynomials : The Regula–Falsi Method is a numerical method for estimating the roots of a polynomial f(x).   A value x replaces the midpoint

Read More »