cancel
Showing results for
Did you mean:
cancel
Showing results for
Did you mean:

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

16-Pearl

## Built a polynome with just the coefficients in mathcad 15?

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

1 ACCEPTED SOLUTION

Accepted Solutions
23-Emerald I
(To:JBlackhole)

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.

7 REPLIES 7
24-Ruby II
(To:JBlackhole)

Here's a tip:

23-Emerald I
(To:JBlackhole)

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

24-Ruby V
(To:Fred_Kohlhepp)

If you want it displayed as a full-length expression, I doubt it.

Why not?

23-Emerald I
(To:Werner_E)

Those of us constrained to Express don't have symbolics (such as they are.)

That's "Why not!"  😉

24-Ruby V
(To:Fred_Kohlhepp)

Ah, I see.

But the question was about MC15 anyway where there is no express mode.

24-Ruby V
(To:JBlackhole)

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

Announcements
Top Tags