HP50: how to transform '-(2.2*X^2-3.3*X-4.4+5*X^2)' w/ no ()
|
12-09-2021, 11:34 AM
(This post was last modified: 12-09-2021 12:01 PM by ObiWanKenobi.)
Post: #16
|
|||
|
|||
RE: HP50: how to transform '-(2.2*X^2-3.3*X-4.4+5*X^2)' w/ no ()
(12-09-2021 01:09 AM)John Keith Wrote: Not sure if it is relevant to your question, but Albert Chan's program in this post seems to be an efficient way to extract the coefficients of a polynomial.Nice solution, but does not work in all situations because HORNER has an ugly issue. Example: 1. 0. HORNER is not ok (wrong type) 1 0 HORNER is ok note, that in the second case the number 1 is a "real integer" (type 28) and in the first case it is a "real number" (type 0). Implementing a trap for this issue is needed and then it looses some performance. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)