The Museum of HP Calculators

HP Forum Archive 21

[ Return to Index | Top of Index ]

HP-Prime Polynomials: User Guide and Request
Message #1 Posted by CompSystems on 27 Sept 2013, 1:30 p.m.

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

      
Re: HP-Prime Polynomials: User Guide and Request
Message #2 Posted by Michael Lopez on 27 Sept 2013, 8:51 p.m.,
in response to message #1 by CompSystems

Thanks CompSystems.

Cheers,

Michael

            
Re: HP-Prime Polynomials: User Guide and Request
Message #3 Posted by CompSystems on 27 Sept 2013, 11:34 p.m.,
in response to message #2 by Michael Lopez

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

                  
Re: HP-Prime Polynomials: User Guide and Request
Message #4 Posted by CompSystems on 28 Sept 2013, 12:27 p.m.,
in response to message #3 by CompSystems

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.

                        
Re: HP-Prime Polynomials: User Guide and Request
Message #5 Posted by Han on 30 Sept 2013, 9:48 p.m.,
in response to message #4 by CompSystems

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?


[ Return to Index | Top of Index ]

Go back to the main exhibit hall