C program to evaluate the 1st derivative of a function at any given point
Writing C programs for numerical differentiation is interesting and fun. Here is one that I wrote years back. Enjoy!
Writing C programs for numerical differentiation is interesting and fun. Here is one that I wrote years back. Enjoy!
Gregory Newton Backward Interpolation Method can be used to derive difference formula when the x values are at equidistant intervals and the value to be interpolated lies towards the end of the table. Below is a detailed explanation of how to apply Gregory Newton Backward Interpolation Method –
Below is a C program to evaluate forward difference and thus print a forward difference table for n function values –
Below is an amazing solution to prove that when n=2, Lagranges interpolation formula reduces to Linear interpolation –
One of the fastest growth rates in the telecommunications industry anywhere in the world is that of mobile radio communication devices. The basic architecture of such a mobile communication network is shown below – Radio telephones or cell phones provide a switched two-way channel between two conversing parties like a conventional telephone. Telephones may…
Olden form of phone systems involved manual exchanges which involved a great task in switching and routing of calls to various subscribers that increased network traffic and longer setup times. Also, fault checking and identification was very difficult. With the introduction of electronic exchanges which used a stored program concept of switching and routing of…
It’s helpful for data communication and IT students to understand the evolution of Data communication systems. The first phase in the evolution of data communication systems was Telegraph Systems. Later, with developments in the telephone systems, it was then possible to interconnect various computer terminals for data communication. With the advancements in network computing and the…
Data Communications is the function of transferring a digital signal from one digital device to another. Data transmission and data communications mean two different things. Data communication has a much wider meaning which embraces not just electrical transmission but, any other factors involved in controlling, checking and handling the movement in a communication-based computer system….
Below is sample C program to convert a postfix string to prefix form. Also included is detailed flow chart of the program and dry run for couple different use cases.
Below is sample C program to convert a prefix string to infix form. Also included is detailed flow chart of the program and dry run for couple different use cases.
Below is an example that I prepared for preorder and postorder traversal of a Binary Tree – enjoy!
Below is the algorithm and C routine for traversing a Binary Tree in postorder.
A binary tree can be traversed in two basic ways – preorder and postorder. Explained below is the process or preorder traverse of a binary tree with an algorithm and the actual C routine.
Binary Tree is a basic data structure that is used behind the scenes of all major technologies whether it’s a Database system or operating system, search engine, Bleeding edge AI systems, Big data or cloud based architectures.