title: Algorithms/How-to for simple algebraic simplification
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/10042960/automatically-calculate-string-mathematical-expressing-in-c-sharp">automatically calculate string mathematical expressing in C#</a>  </p>
  </blockquote>
  
  
  
  <p>Could someone point me towards some resources which describe in detail how to simplify simple algebraic equations such as "5x+(2x*6x)+2" which should result in "12x^2+5x+2" the operators I need to handle are "+","-","*","/","^" and parenthesis. So far I have implemented a parser and evaluator for numeric terms which converts from in-fix to post-fix and then evaluates.</p>
  
  <p>If someone could give me a basic run-down on how I could accomplish this it would be greatly appreciated.</p>