[HP-Prime] randPoly command
#1

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.



Possibly Related Threads…
Thread Author Replies Views Last Post
  [HP-Prime CAS] "Warning, ^ (Command) Is ambiguous on non square matrices"?? CompSystems 1 2,214 12-07-2013, 07:15 PM
Last Post: CompSystems
  HP Prime - most favorite command bluesun08 2 1,511 11-12-2013, 11:29 AM
Last Post: bluesun08
  hp prime - command syntax bluesun08 6 2,463 11-10-2013, 11:57 AM
Last Post: bluesun08
  HP PRIME: command to read the SERIAL ? Joseph Ec 9 5,862 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,948 10-23-2013, 03:37 PM
Last Post: Eddie W. Shore
  HP Prime MOUSE command SanS 3 1,735 10-15-2013, 12:15 PM
Last Post: Han
  [HP-Prime xCAS] BUG: string command =( CompSystems 6 2,208 09-10-2013, 06:38 PM
Last Post: CompSystems
  [HP_Prime] definition of functions, APPLY command and BUGs CompSystems 1 1,338 09-05-2013, 03:59 PM
Last Post: CompSystems
  [HP-Prime] Request: New command for CAS (EvalStep) CompSystems 4 1,806 09-04-2013, 09:33 AM
Last Post: Eddie W. Shore
  SVN command to get latest realbuild Barry Mead 3 1,641 07-19-2013, 12:59 PM
Last Post: Didier Lachieze

Forum Jump: