Wednesday, 30 April 2014

Fitting a Parabola Using Method of Moments : C/C++ Program


   In this post I have shared the C and C++ programs to fit a Parabola using the method of moments.

Figure Below Shows a Sample Output




Sunday, 20 April 2014

A Simple Client-Server Chat Utility in Java


   In this post I have added the Client and Server Programs in Java to implement a very simple chat utility.

Figure Below Shows the GUI of a Chat Client





Monday, 31 March 2014

Straight Line Fitting By Using the Method of Least Squares : C/C++ Program


   In this post I have shared the C and C++ Programs to perform straight line fitting by using the method of least squares. 

Figure Below Shows a Sample Output




Straight Line Fitting Using the Method of Group Averages : C/C++ Program


   In this post I have shared the C and C++ programs to perform straight line fitting by using the method of Group Averages.

Figure Below Shows a Sample Output



Friday, 28 February 2014

Gauss Seidel Method: C/C++ Program


   With this post I have provided the C and C++ programs implementing the Gauss Seidel Method.

Figure Below Shows a Sample Output

Gauss Jacobi Method: C/C++ Program


   With this post I have provided the C and C++ programs implementing the Gauss Jacobi Method.

Figure Below Shows a Sample Output


Click here to download the C Program.
 


Tuesday, 21 January 2014

C Program to Check Increasing, Decreasing and Bouncy Numbers


  Starting from left-to-right if no digit is exceeded by the digit to its left the number is called an increasing number. 125569 is an increasing number. Similarly if no digit is exceeded by the digit to its right the number is called a decreasing number. 77632 is a decreasing number. A positive integer that is neither increasing nor decreasing is called a bouncy number. 244369 is a bouncy number.

The C Program given with this post checks whether the given number is an increasing, decreasing or bouncy number.


Figure Below Shows a Sample Output


Click here to download the C Program.