title: How to calculate indefinite integral programmatically
body: <p>I remember solving a lot of indefinite integration problems. There are certain standard methods of solving them, but nevertheless there are problems which take a combination of approaches to arrive at a solution.
  But how can we achieve the solution programatically.</p>
  
  <p>For instance look at the online integrator app of Mathematica. So how do we approach to write such a program which accepts a function as an argument and returns the indefinite integral of the function.</p>
  
  <p><img src="https://i852.photobucket.com/albums/ab82/rakeshkumar167/Capture.jpg" alt="wolfram mathematica online integrator"></p>
  
  <p>PS. The input function can be assumed to be continuous(i.e. is not for instance sin(x)/x).</p>