[HP-Prime] randPoly command CompSystems Member Posts: 213 Threads: 60 Joined: Mar 2013 09-26-2013, 08:49 AM Hello, sorry for my bad English =( 0: randPoly(2,1 .. 1) * randPoly(3,1 .. 1); [ENTER] => 3 // is not a BUG, is a math engine characteristic ( Dot product ) ANS == DOT([1,1,1,1],[1,1,1]) PATCH TO SOLVE THE UNIVERSAL CONTAINER Ambiguity (BRACKETS) [] symb2poly( poly2symb( randPoly(3,1 .. 1)) * poly2symb( randPoly(2,1 .. 1))); => [1,2,3,3,2,1] 1: randPoly(3,1 .. 1)+randPoly(2,1 .. 1); => [2,2,2,1] // No bug PATCH: symb2poly(poly2symb(randPoly(3,1 .. 1))+poly2symb(randPoly(2,1 .. 1))); => [1,2,2,2] 2: randPoly(3,1 .. 1)-randPoly(2,1 .. 1); => [0,0,0,1] // => 1*X^0 No bug PATCH: symb2poly(poly2symb(randPoly(3,1 .. 1))-poly2symb(randPoly(2,1 .. 1))); => [1,0,0,0] => x^4 What advantage does using a single container, if required extra conversion command? if the following value, are the result of a conversion from rectangular to polar [5, 53.1301023542] [5, 36.8698976458] then, to sum required to convert back to Cartesian =( rectangular_coordinates([5, 53.1301023542])+rectangular_coordinates([5, 36.8698976458]); math engine, could evolve and manipulate elements of the form [#, #<_°/r] or impossible and will remain as-is for eternity Edited: 26 Sept 2013, 9:14 a.m. « Next Oldest | Next Newest »

 Possibly Related Threads... Thread Author Replies Views Last Post [HP-Prime CAS] "Warning, ^ (Command) Is ambiguous on non square matrices"?? CompSystems 1 1,709 12-07-2013, 07:15 PM Last Post: CompSystems HP Prime - most favorite command bluesun08 2 1,258 11-12-2013, 11:29 AM Last Post: bluesun08 hp prime - command syntax bluesun08 6 1,991 11-10-2013, 11:57 AM Last Post: bluesun08 HP PRIME: command to read the SERIAL ? Joseph Ec 9 5,047 11-01-2013, 12:43 AM Last Post: Joe Horn Connectivty Kit for HP Prime needs an "Import Program" Command Eddie W. Shore 3 1,592 10-23-2013, 03:37 PM Last Post: Eddie W. Shore HP Prime MOUSE command SanS 3 1,412 10-15-2013, 12:15 PM Last Post: Han [HP-Prime xCAS] BUG: string command =( CompSystems 6 1,785 09-10-2013, 06:38 PM Last Post: CompSystems [HP_Prime] definition of functions, APPLY command and BUGs CompSystems 1 1,103 09-05-2013, 03:59 PM Last Post: CompSystems [HP-Prime] Request: New command for CAS (EvalStep) CompSystems 4 1,416 09-04-2013, 09:33 AM Last Post: Eddie W. Shore SVN command to get latest realbuild Barry Mead 3 1,329 07-19-2013, 12:59 PM Last Post: Didier Lachieze

Forum Jump: