I suggest you look at
http.cs.berkeley.edu/~fateman/papers/deriv.pdf
You don't need APIs, you don't need python, you don't need Java, you don't need Maxima.
At least for the differentiation part.
For the simplification that is necessary, you probably could use Maxima.
Writing a differentiation program in Lisp is a very elementary exercise.
RJF
----- Original Message -----
From: Jurgis Pralgauskis <jurgpral at soften.ktu.lt>
Date: Sunday, November 26, 2006 4:26 pm
Subject: expression parse tree API?
> Hello,
>
> could smb point me how to access the formula parse tree.
>
> I asked in SAGE forum, but seems they don't deal with expression
> parsinghttp://groups.google.com/group/sage-
> support/browse_thread/thread/96686f9ff4ba3711SAGE folks referenced
> Maxima..
> if it is possible, I'd like to reach it from python, but if not, I
> could
> learn some LISP
>
> ---
> what I really want, is to make derivative exercise tool.
> which would do the differentiation of (complex) formulas step by step.
>
> for example Maple has it
> http://www.adeptscience.co.uk/products/mathsim/maple/whatsnew/maple_presentation.html#MapleAutoBookmark9
>
>
> ctrl+F: ShowSteps
> or http://www.google.lt/search?q=Student[Calculus1]+ShowSteps
>
> I'd like to have parse-tree structure, based on differentiation by
> variable (x) ,
> each next depth level would mean a step according to
> http://en.wikipedia.org/wiki/Chain_rule
>
> so terminal/final nodes should have 'x' or plain numeric expression,
> and pre-terminal nodes should have simple differentiatable functions
> a subset of http://en.wikipedia.org/wiki/Table_of_derivatives,
> which contain x and numeric values/variables
>
> I found sth similar what I want in java..
> http://www.singularsys.com/jep/doc/html/advanced.html
>
> Thanks in advance
> --
> Jurgis Pralgauskis
> Don't worry, be happy :) and make things better ;)
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>