To all,
Note a mathematical question per say but one about “shortand” with Mathcad 15.
Is there a way of defining the coefficient of a polynome (say as a vector) and tell Mathcad that I want a full polynome like this: P(x)=a0+a1x+a2*x^2 + …. + an*x^n (= SUM (an*x^n))
I can see the factor and expand commands but cannot find anything that does what I want/looking for.
Thanks
Solved! Go to Solution.
If you want to use it as an operating (calculating) function, then you've already written it:
If you want it displayed as a full-length expression, I doubt it.
If you want to use it as an operating (calculating) function, then you've already written it:
If you want it displayed as a full-length expression, I doubt it.
thanks. It was just in case there is a "obvious" predefined function. Something like p(x)=polynome(a,x)
I found something in my library of useful functions but the sum will have to do
Thanks to both
If you want it displayed as a full-length expression, I doubt it.
Why not?
Those of us constrained to Express don't have symbolics (such as they are.)
That's "Why not!" 😉
Ah, I see.
But the question was about MC15 anyway where there is no express mode.
You may also consider writing a small utility function which turns a vector into a polynomial function.
The example below also shows that the names of formal and actual argument must not be the same.
Of course I would not use a confusing naming like the one shown in a real world worksheet.
MC15 file attached