Post Reply 
HP Prime undef for Limes. Maybe a Bug?
10-13-2018, 07:04 PM
Post: #11
RE: HP Prime undef for Limes. Maybe a Bug?
Hi, roadrunner

On your limit_exact(), why is subst(...) needed ?
Also, I think limit_exact() had a bug:

f(x) := ((5-2x) + sin(5-2x)) / (2x^2 - 3x - 5)

limit(f(x), x, 5/2, 0) ==> -4/7

limit_exact(f(x), x, 2.5, 0) ==> undef
limit_exact(f(x), x, 5/2, 0) ==> undef

BTW, exact(...) may not always return exactly what you wanted.
Returned rationals were an approximation (based on config epsilon setting) of float.

Example, with epsilon = 1e-6, exact(500000.5) return 500001
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HP Prime undef for Limes. Maybe a Bug? - Albert Chan - 10-13-2018 07:04 PM



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