I have created a site for the math classes I am taking, that consists of a dropdown menu, a textbox and a button...the dropdown menu lists the formulas (i.e. difference quotient of an equation, etc...) the textbox allows the user to input the equation and push submit...
what I want is to have the code calculate the difference quotient of an equation, but I am running into some problems...mainly how to get it to understand that 3(x + 2) = 3x + 2...is there some way to program this so that if a number multiplied times a letter...it will display it as such...another problem is returning exponents...how to return (2-x)^2?
