# HP Forums

Full Version: HP-Prime Polynomials: User Guide and Request
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

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

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

Thanks CompSystems.

Cheers,

Michael

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

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.

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?