Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
Hello,
Just trying to express the polynomials in descending order. It is basically doing the Lagrange's Polynomial for a given Zeta value and I have the number of node points as an input as well. I'm just trying to make all of the outputs in the same format.
Solved! Go to Solution.
Unfortunately we have much too few ways to influence the way the results of symbolic evaluations.
Mathcad will most of the times avoid a minus sign at the front if you use expand or simplify. On the other hand it will sometimes simplify and expression to something like " - (2x-...) " which usually isn't the best idea.
The best I could think of is to use the keyword "series". It will give you at least an ascending order of the terms.
Unfortunately we have much too few ways to influence the way the results of symbolic evaluations.
Mathcad will most of the times avoid a minus sign at the front if you use expand or simplify. On the other hand it will sometimes simplify and expression to something like " - (2x-...) " which usually isn't the best idea.
The best I could think of is to use the keyword "series". It will give you at least an ascending order of the terms.
Werner,
Thank you. That worked. I was hoping for descending order, but I must have skipped over series. Any order is what I was hoping to get it expressed in. It makes it MUCH easier when comparing to my hand calculations and derivations.
Do you know of a way to factor the 1/16 outside of the bracket? If not that is fine, but I was just wondering.
I guess "factor" will factor too much (if possible). You may put 1/16 manually in the placeholder for the units. Don't know if this works in Prime - it does in Mathcad (15 and below).
Otherwise you could assign the vector a variable and evaluate 16*this_vector.