I am currently working on an application that graphs an equation, calculates the area beneath the curve, rotates this area, then compiles a 3D model based upon this. As of now my input equations have been "hard-coded" into the application's source code.
Example of hardcoded input:
double y = abs(qSin(qPow(graphXValue,graphXValue))/qPow(2, (qPow(graphXValue,graphXValue)-M_PI/2)/M_PI))
My question is: Is there an input format (like MathML or Math Jax) that can be used to input the math expression like:
but also have the C++ evaluate said expression.