RE: correct/simplify Content MathML

Hello, 

> The program I'm working on, should be able for example to 
> make no difference between "x+2" and "x+1+1" and if possible 
> also between "sin2x" and "2cosxsinx".

If all you want is to compare expressions to decide whether they are really
the same or not, there is a simple idea that I think is also pretty useful:
It shouldn't be too hard to implement a numerical evaluation of the
expression at some points (since it is content markup.) Then you can
evaluate the expressions at many points, and compare the results. Almost
anything you can write is analytic, so if they agree on many points, chances
are they are the same function.

Since you are using WebEQ controls already, I should mention that there is
now a "Comparator" one that implements what I described. But, again, you can
also implement your own to make sure it fits your needs.

Regards,

Eduardo Tabacman
Design Science

Received on Tuesday, 8 July 2003 11:22:59 UTC