Post Reply 
warning in pade
09-28-2014, 04:01 PM
Post: #1
warning in pade
I was working on finding a reasonable expression for a Pade approximation to sin(x). The HP Prime has pade(f(x),x,n,p) which outputs a rational function approximation to f(x) of order less than or equal to n+1 with numerator of degree <p.

It works OK, for example pade(sin(x),x,5,4) returns (-7*x^3+60*x)/(3*x^2+60) as expected.

But for some values of the parameters n, p, the Prime gives a warning before returning the answer. For example pade(sin(x),x,5,3) shows Solution may be wrong since a and b are not prime together.

Does anyone know what is happening? What are a and b?


Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
warning in pade - Alberto Candel - 09-28-2014 04:01 PM
RE: warning in pade - parisse - 09-29-2014, 06:33 AM

User(s) browsing this thread: 1 Guest(s)