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

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

Built a polynome with just the coefficients in mathcad 15?

JBlackhole
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

ACCEPTED SOLUTION

Accepted Solutions

If you want to use it as an operating (calculating) function, then you've already written it:

Fred_Kohlhepp_0-1635682885733.png

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

View solution in original post

7 REPLIES 7

Here's a tip:

 

Pic-1.png

 

If you want to use it as an operating (calculating) function, then you've already written it:

Fred_Kohlhepp_0-1635682885733.png

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?

Werner_E_0-1635683771605.png

 

Fred_Kohlhepp_0-1635768756042.png

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.

Werner_E
25-Diamond I
(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.

Werner_E_1-1635684441228.png

MC15 file attached

Announcements

Top Tags