canonical form
|
01-23-2015, 08:46 PM
Post: #1
|
|||
|
|||
canonical form
Hello,
I am trying to use the"canonical_form" function from the catalog, in CAS mode. According to the help it should act as in this example: canonical_form(2*x^2-12*x+1) -> 2*(x-3)^2-17 on the emulator it works like expected, on the real prime it does this: canonical_form(2*x^2-12*x+1) -> 2*x^2-12*x+1 Actually the canonical form should be 2*x^2-12*x+1, 2*(x-3)^2-17 is the vertex form as (3,-17) is the vertex. So I don't know what should be the intended behaviour, but a function that returns 2*x^2-12*x+1 is not very useful, it only simplifies the expression. So how can I find 2*(x-3)^2-17 starting from 2*x^2-12*x+1 on the real Prime? Thank you very much for the help. reto |
|||
01-23-2015, 08:50 PM
Post: #2
|
|||
|
|||
RE: canonical form
Just off the top of my head: perhaps you have simplification set to max in the CAS settings?
Graph 3D | QPI | SolveSys |
|||
01-23-2015, 08:57 PM
Post: #3
|
|||
|
|||
RE: canonical form
Yes, simplification was set to maximum, I changed it to minimum and it works fine!
Thank you very much for the fast and correct answer. reto |
|||
01-23-2015, 10:25 PM
(This post was last modified: 01-23-2015 10:27 PM by Tim Wessman.)
Post: #4
|
|||
|
|||
RE: canonical form
(01-23-2015 08:57 PM)retoa Wrote: I changed it to minimum and it works fine! And i've put in a note to fix that. Definitely should be on the list of commands that aren't auto-simplified. Thanks for finding it. Seriously though, don't use "maximum". We're actually contemplating on removing that or changing it completely so it doesn't just do "simplify" after anything like what happens now. TW Although I work for HP, the views and opinions I post here are my own. |
|||
01-24-2015, 10:18 AM
Post: #5
|
|||
|
|||
RE: canonical form
Thank you Tim, then I will not use maximum.
What is exactly the difference between none, minimum and maximum simplification? Better said, for none and maximum it is clear, but where is the limit between minimum and maximum? The user manual says only (page 55) "Minimum: do basic simplifications" By the way in the figure at the bottom of page 55 the "simplify" menu is missing. Thank you very much for the help ! reto |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)