title: How to find derivative of a function using c
body: <p>Is it possible to find derivative of a function using c program. I am using matlab in that it has an inbuilt function diff() which can be used for finding derivative of a function.  </p>
  
  <pre><code>f(x)=x^2
  </code></pre>
  
  <p>Is it possible to find the derivative of above function using c. What is the algorithm for that?</p>