How to solve quadratic equations through catia?
How to solve quadratic equations through catia?
(OP)
Hi Guys,
I need to solve a quadratic equation (ax^2 + bx + c = 0) and set the value (x) to a parameter. How can I acheive this in CATIA. The set of equation feature does not solve this equation. Its expecting a set of equations. Could you please let me know if there is any other feature to sovle such equations or if its possible in equation editor, what is the syntax to type in the equation editor.
Thanks in advance.
I need to solve a quadratic equation (ax^2 + bx + c = 0) and set the value (x) to a parameter. How can I acheive this in CATIA. The set of equation feature does not solve this equation. Its expecting a set of equations. Could you please let me know if there is any other feature to sovle such equations or if its possible in equation editor, what is the syntax to type in the equation editor.
Thanks in advance.





RE: How to solve quadratic equations through catia?
check this: thread560-176429: curve defined by an equation and the online doc of course...
indocti discant et ament meminisse periti
RE: How to solve quadratic equations through catia?
or
x1,2 = (-b±sqrt(b^2-4*a*c))/2a
the first solution is with a +, the second with a -
a,b,c are the coefficients in the quadratic equation.
the solution can also be complex numbers, but for these the equation above will fail, as the sqrt is negative in that case.