Firstly, I don't want to SOLVE equations, I just want to create them.

I've looked through several posts about this and haven't found anything helpful.

I want to create a series of programs (or maybe web apps) to let my students practice solving math problems. I need a way to format certain kinds of math expressions correctly.

Some stuff is easy for format...
x² - 3x + 2 = 0
5x = 10
x - (-4) = 15

But some stuff has no simple (that I know of) way to be displayed in VB...
Simplify (x² - 4) over (x - 2)
Simplify sqrt(50)
Solve x over 10 = 100

I've looked into using MathML, TeX etc. to format the output and maybe use a browser window or rtf but there doesn't seem to be a VB OCX for this.

I want my problems to be randomly generated and then displayed in the correct format. Then the solutions would be generated from the created problem.

Any suggestions?