Post Reply 
mixed fraction program for hp 28s
10-11-2024, 07:58 PM (This post was last modified: 10-11-2024 08:13 PM by Gilles.)
Post: #12
RE: mixed fraction program for hp 28s
(10-11-2024 07:15 PM)Thomas Klemm Wrote:  Thus I wonder which algorithm is used in →Q.
I don't know the algorithm but the accuracy of →Q depends on the FIX parameter.
I was always impressed by its speed, even with my old 48SX. There is also a command →Qπ which allows to retrieve for example π/4 with the real value of ACOS (√2/2) in radians. And √2/2 →NUM →Qπ returns √(1/2) , then simplify returns √2/2

AUR says :
Quote:To Quotient Command: Returns a rational form of the argument.
The rational result is a “best guess”, since there might be more than one rational expression
consistent with the argument. →Q finds a quotient of integers that agrees with the argument to
within the number of decimal places specified by the display format mode.
→Q also acts on numbers that are part of algebraic expressions or equations

And for →Qπ
Quote:To Quotient Times π Command: Returns a rational form of the argument, or a rational form of
the argument with π, square roots, natural logs, and exponentials factored out, whichever yields
the smaller denominator.
The rational result is a “best guess”, since there might be more than one rational expression
consistent with the argument. →Qπ finds a quotient of integers that agrees with the argument to
the number of decimal places specified by the display format mode.
→Qπ also acts on numbers that are part of algebraic expressions or equations.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
mixed fraction program for hp 28s - Rafa - 10-10-2024, 07:46 PM
RE: mixed fraction program for hp 28s - Gilles - 10-11-2024 07:58 PM



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