×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

scilab - Evaluating polynomial at a value of the independent var

scilab - Evaluating polynomial at a value of the independent var

scilab - Evaluating polynomial at a value of the independent var

(OP)
Not a Matlab question but a scilab question.

Let's say I have a polynomial in w.

Something like  Residual  =    0.0000004 - 7.543D-11w^2 + 2.191D-15w^4
- 1.726D-20w^6 + 5.008D-26w^8 - 6.181D-32w^12  + 3.308D-38w^14 -
6.314D-45w^24 - 1.005D-87w^26


(this arose during Prohl Myklstad calculation of critical speed of a
rotating shaft with 8 shaft elements).


The coefficients have a lot more precision than what is shown in the
output above.


Is there a way to accurately calculate this at a given value of w.
(for example w=10.0)?


Better yet turn it into a function that computes the value of residual
for any given value of w?


I have a suspicion there may be a way to do it by converting to a
string (is there?).  If so I am afraid this will lose the precision of
the coefficients.

=====================================
Eng-tips forums: The best place on the web for engineering discussions.

RE: scilab - Evaluating polynomial at a value of the independent var

(OP)
I think the coeff function will do what I need. It returns the coefficients of the polynomial as variables suitable for further calculation.

=====================================
Eng-tips forums: The best place on the web for engineering discussions.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources