Post Reply 
Number in HP Prime
09-02-2016, 10:09 AM
Post: #1
Number in HP Prime
Hi,

I have a problem. I was waiting -5/7 for x and -22/7 for y but I obtained decimal of the divisions and not the fractions in solver app or linsolver app. I have choosed "EXACT" in CAS, but no fractions only decimal number.

Certainely I miss configuration, but how to have result in form of fractions ?

Thanks.

Gérard.
Find all posts by this user
Quote this message in a reply
09-02-2016, 04:03 PM
Post: #2
RE: Number in HP Prime
(09-02-2016 10:09 AM)ggauny@live.fr Wrote:  Hi,

I have a problem. I was waiting -5/7 for x and -22/7 for y but I obtained decimal of the divisions and not the fractions in solver app or linsolver app. I have choosed "EXACT" in CAS, but no fractions only decimal number.

Certainely I miss configuration, but how to have result in form of fractions ?

The Solver and Linear Solver apps are numeric solvers, not symbolic solvers. In other words, they are like Home operations, not CAS operations. Whenever you want exact (symbolic, algebraic) results, use the CAS.

<0|ɸ|0>
-Joe-
Visit this user's website Find all posts by this user
Quote this message in a reply
09-02-2016, 07:03 PM
Post: #3
RE: Number in HP Prime
(09-02-2016 10:09 AM)ggauny@live.fr Wrote:  Hi,

I have a problem. I was waiting -5/7 for x and -22/7 for y but I obtained decimal of the divisions and not the fractions in solver app or linsolver app. I have choosed "EXACT" in CAS, but no fractions only decimal number.

Certainely I miss configuration, but how to have result in form of fractions ?

Thanks.

You can't, in order to get the "exact" solution you have to use SOLVE in CAS mode, not SOLVER/LINEAR SOLVER apps ;-)
Best,

Aries :-)
Find all posts by this user
Quote this message in a reply
09-17-2016, 11:18 AM
Post: #4
RE: Number in HP Prime
Hi,

Thank for you all.

Gérard.
Find all posts by this user
Quote this message in a reply
09-17-2016, 11:59 AM
Post: #5
RE: Number in HP Prime
If you use the Solver to solve for X and obtain (for example) 10.71428571429 you can return to the Home screen, display the value of X and then press the "a b/c" key. That converts the decimal into a fraction for display.

Sorry if you already know this!

Nigel (UK)
Find all posts by this user
Quote this message in a reply
09-18-2016, 10:51 PM
Post: #6
RE: Number in HP Prime
I'm not sure in previous versions of firmware... but on FW:10637 it does convert to fractions by pressing the "a b/c" key, while still in the Linear solver App.

Spybot.
Find all posts by this user
Quote this message in a reply
09-19-2016, 06:58 AM
Post: #7
RE: Number in HP Prime
Again thank for the trick "a/b fraction. I was not knowing this.

Goods regards.

Gérard.
Find all posts by this user
Quote this message in a reply
09-20-2016, 02:56 PM
Post: #8
RE: Number in HP Prime
(09-19-2016 06:58 AM)ggauny@live.fr Wrote:  Again thank for the trick "a/b fraction. I was not knowing this.

Be careful when using the fraction button in Home. It doesn't always return a fraction exactly equal to the input. Its purpose is to display a fraction that is close to the input, and you can control its precision by changing the display mode. For example, in Home, in Fixed 2 mode, pi [a b/c] returns 22/7, but in Fixed 5 mode it returns 355/113. Standard display mode is similar to Fixed 11. Here's a trick that nobody has mentioned yet: Set Fixed display mode, then go into CAS and type HDigits:=12. That will set your machine to Fixed 12 mode(!), which returns fractions with even higher precision than Fixed 11.

When the fraction button is used in CAS, it uses the "exact()" function, whose precision is controlled not by the display mode, but by the value of the CAS setting called "epsilon" (see page 2 of the CAS Settings).

<0|ɸ|0>
-Joe-
Visit this user's website Find all posts by this user
Quote this message in a reply
09-21-2016, 06:22 AM
Post: #9
RE: Number in HP Prime
Hi Joe,
Very interesting reply ! How can you know all this things (and in 50g too) ? I have puted in application your advertising.

Thank.

Gérard.
Find all posts by this user
Quote this message in a reply
Post Reply 




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