HP-Prime Polynomials: User Guide and Request



Post: #2

HP-Prime Polynomials User Guide (version 0.0.5) and Request

http://jaimeza.org/Mathematic/HewlettPackard/HP_Prime_xCAS/HP_Prime_polynomials.pdf

Edited: 28 Sept 2013, 12:28 p.m. after one or more responses were posted


Post: #3

Thanks CompSystems.

Cheers,

Michael


Post: #4

Nuevo lanzamiento Version 0.0.3, con muchas mejoras, en redacción permanente

hay un problema con diff, e int cuando la expresión es un polinomio como arreglo

diff(poly1[1,-4,4],x) => [ 0, 0, 0 ] ??? espero que se solucione pronto, la salida correcta es poly1[2,-4]

Edited: 28 Sept 2013, 12:29 p.m. after one or more responses were posted


Post: #5

Nuevo lanzamiento Version 0.0.5

hay unos posibles BUGs, espero que TIM me ratifique o no los BUGs

Composicion con polinomios

p(x) := x²+1;
p1(x) := x+3;
p(p1(x)); => x²+6*x+10 // OK

but

p(x) := poly1[ 1, 0, 1 ]
p1(x) := poly1[ 1, 3 ]
p(p1(x)); => poly1[ 1, 0, 1 ] // BUG?

diff(x²-4*x+4,x); => 2*x-4

diff( poly1[1,-4,4],x); => [ 0, 0, 0 ] // BUG?

int([1,-4,4],x); => [ 0, 0, 0 ] // OK


int(x²-4*x+4,x); => (x^3/3)-(4*x²/2)+4*x

int(poly1[1,-4,4],x); => [x,-4*x,4*x] // BUG?

Edited: 28 Sept 2013, 12:28 p.m.


Post: #6

Quote:
Nuevo lanzamiento Version 0.0.5

hay unos posibles BUGs, espero que TIM me ratifique o no los BUGs

Composicion con polinomios

p(x) := x²+1;
p1(x) := x+3;
p(p1(x)); => x²+6*x+10 // OK

but

p(x) := poly1[ 1, 0, 1 ]
p1(x) := poly1[ 1, 3 ]
p(p1(x)); => poly1[ 1, 0, 1 ] // BUG?

diff(x²-4*x+4,x); => 2*x-4

diff( poly1[1,-4,4],x); => [ 0, 0, 0 ] // BUG?

int([1,-4,4],x); => [ 0, 0, 0 ] // OK


int(x²-4*x+4,x); => (x^3/3)-(4*x²/2)+4*x

int(poly1[1,-4,4],x); => [x,-4*x,4*x] // BUG?



What is "poly1" -- is this a built-in marker to mark a vector as a polynomial vector? or is this something you created?


Forum Jump: