Post Reply 
Exact, approx...: QPI
06-10-2015, 06:25 AM (This post was last modified: 06-10-2015 07:48 AM by salvomic.)
Post: #3
RE: Exact, approx...: QPI
(06-10-2015 05:25 AM)Joe Horn Wrote:  Good news: you can control the accuracy of the "exact" function by setting the value of "epsilon" on page 2 of CAS Settings. By changing epsilon to something more granular than the default 1e-12 (try 1e-10, for example), you'll get what you're looking for.

You can also control the accuracy of the "exact" function from within a program, but it must be a CAS program, e.g. epsilon:=1e-10 (notice that it's epsilon, not Epsilon).

By the way, this ability to control the accuracy of the "exact" function by altering the value of epsilon in CAS, closely parallels the ability to control the accuracy of the [a b/c] button in Home by altering the display setting (e.g. Fixed 4). One of the biggest differences is that [a b/c] can only be adjusted by powers of 10, whereas epsilon can have any value between 1e-6 and 1e-15 (I don't think that range is documented anywhere).

thank you, Joe,
I'll try on epsilon for curiosity. It's fun to experiment with the settings on the Prime :-)
Maybe 12 for epsilon is not good enough, or ...it's too good; luckily it could be varied...

Salvo

EDIT: Joe, thank you, with epsilon 1e-10 in CAS, with "a b/c" now I get 36/5 and not the ugly fraction Smile

∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Exact, approx...: QPI - salvomic - 06-09-2015, 09:32 PM
RE: Exact, approx...: QPI - Joe Horn - 06-10-2015, 05:25 AM
RE: Exact, approx...: QPI - salvomic - 06-10-2015 06:25 AM



User(s) browsing this thread: