Post Reply 
Bug in solve app?
05-06-2016, 11:28 AM
Post: #1
Bug in solve app?
Hello, somehow I think I found a bug in the solve app.
If I enter two equations:
-5.5=A*-15.5+B*-50.5
-14.1=A*-39.5+B*-4.5

The shown result is:
A: 0.357...
B: -6.75...

But this is not correct. If I enter the equations in the linear solver app
the results are:
A:0.35...
B:-0.000675...

Those are correct. Is there something wrong or have I messed up some settings?
Find all posts by this user
Quote this message in a reply
05-06-2016, 04:57 PM
Post: #2
RE: Bug in solve app?
In the Solver App, does the result shown for B happen to be −6.80ᴇ−4 as the displayed value? Your ellipsis cuts off any possibility of the power of 10 in the result.

In matrix form, if

M0:=[[−15.5,−50.5,−5.5],[−39.5,−4.5,−14.1]]

And

M1:=RREF(M0);

Then
M1(2,3) == B == −6.80ᴇ−4 == the result shown in Solver App

-Dale-
Find all posts by this user
Quote this message in a reply
05-07-2016, 09:27 AM
Post: #3
RE: Bug in solve app?
I have uploaded two pictures to show the problem.

The result of the solver app:
[Image: gyevd93k.jpg]

The linear solver app:
[Image: isvr5y74.jpg]

The second one should be correct.
Find all posts by this user
Quote this message in a reply
05-07-2016, 10:44 AM
Post: #4
RE: Bug in solve app?
Confirmed!

— Dirk Hartland
Find all posts by this user
Quote this message in a reply
05-07-2016, 11:01 AM
Post: #5
RE: Bug in solve app?
I retried the Solve App using the information as provided:

[Symb]
E1: -5.5=A*-15.5+B*-50.5
E2: -14.1=A*-39.5+B*-4.5

[Num] [Solve]
A: 0.357038961039
B: −6.75324675325ᴇ−4

(The Solve App worked in this case on both the VC and HC).

Do you get the same error on the emulator? (Perhaps, Tim may be able to offer some insight on this).

-Dale-
Find all posts by this user
Quote this message in a reply
05-07-2016, 11:46 AM
Post: #6
RE: Bug in solve app?
I don't have installed the latest version. I will install it later and have a look.
Somehow I get strange results in general.
Another example:

3376*A+225*B+15*C+D=0
125*A+25*B+5*C+D=5
675*A+30*B+C=0
30*A+2*B=0

The results I get are: A=0 B=0 C=0 D=8
Find all posts by this user
Quote this message in a reply
05-07-2016, 01:16 PM (This post was last modified: 05-07-2016 01:18 PM by slawek39.)
Post: #7
RE: Bug in solve app?
I have this same problem on real calculator. FW10077
But Android emulator gives correct result.

Slawek39
Find all posts by this user
Quote this message in a reply
05-07-2016, 01:46 PM (This post was last modified: 05-07-2016 01:47 PM by DrD.)
Post: #8
RE: Bug in solve app?
(05-07-2016 11:46 AM)MrMcChicken Wrote:  I don't have installed the latest version. I will install it later and have a look.
Somehow I get strange results in general.
Another example:

3376*A+225*B+15*C+D=0
125*A+25*B+5*C+D=5
675*A+30*B+C=0
30*A+2*B=0

The results I get are: A=0 B=0 C=0 D=8

For your example, I get:

   
Find all posts by this user
Quote this message in a reply
05-07-2016, 02:44 PM (This post was last modified: 05-07-2016 02:46 PM by Dirk.nl.)
Post: #9
RE: Bug in solve app?
Hi all,
I have the same results as MrMcChicken and Slawek39,
Dale, can you, maybe, explain that it works correctly on your calculator?
Have you also FW10077?
Have you changed some settings?
Tim or Cyrille, can you help us, please? (Thanks)

— Dirk Hartland
Find all posts by this user
Quote this message in a reply
05-07-2016, 04:15 PM
Post: #10
RE: Bug in solve app?
My emulator result:
   
   
Find all posts by this user
Quote this message in a reply
05-07-2016, 04:56 PM (This post was last modified: 05-07-2016 09:42 PM by Helge Gabert.)
Post: #11
RE: Bug in solve app?
I've long since given up on the solve app (can't even solve a simple two-liner like 5*A+7*B=39 and -2*A+B=-8 - - hitting solve soft key has no effect, regardless of starting values). FW 10077, physical Prime.

Just use RREF for linear equations, and fsolve for non-linear ones (which also allows for complex solutions).
Find all posts by this user
Quote this message in a reply
05-07-2016, 05:02 PM
Post: #12
RE: Bug in solve app?
Hi!:

In my emulator of Android with version 8151, have the results, indicated in the attached files.

Kind Regards.
informach.


Attached File(s) Thumbnail(s)
           
Find all posts by this user
Quote this message in a reply
05-07-2016, 05:26 PM
Post: #13
RE: Bug in solve app?
(05-07-2016 01:16 PM)slawek39 Wrote:  I have this same problem on real calculator. FW10077
But Android emulator gives correct result.

Slawek39

This message applies to the first post with B=-6.75 (2 equations)
The problem with 5 equations is corect on my Calculator (Hardware Version A)

slawek39
Find all posts by this user
Quote this message in a reply
05-07-2016, 09:37 PM (This post was last modified: 05-07-2016 09:47 PM by informach.)
Post: #14
RE: Bug in solve app?
Hi!:

For the examples, of ... MrMcChicken

I checked, in my HP PRIME Calculator, with ...
Software Version 2016 04 14 (10077)
Hardware Version: A
CAS Version 1.1.2-11
Operating System : V0.042.570

The results have error's, in example E1 and E2, with Exact Mode and Standard 12 digits ....

E1: 3,376*A+225*B+15*C+D=0 --> 2.5012506253
E2: 125*A+25*B+5*C+D=5 --> -37518759379

The correct results, they should be ...
E1: 0.0025012506
E2: -0.037518759

Kind Regards.
informach.
Find all posts by this user
Quote this message in a reply
05-07-2016, 11:31 PM
Post: #15
RE: Bug in solve app?
I have the 14/04/16 firmware and I'm having the exact problem. Maybe it's a bug.
Find all posts by this user
Quote this message in a reply
05-07-2016, 11:37 PM
Post: #16
RE: Bug in solve app?
Hi!, German90:

Yes, it's a bug, of new version.

IMHO, what Tim Wessman, he must take action, for correct it, in the next version.

Kind Regard and very happy weekend !.
informach.
********************************************************************************​********************
(05-07-2016 11:31 PM)German90 Wrote:  I have the 14/04/16 firmware and I'm having the exact problem. Maybe it's a bug.
Find all posts by this user
Quote this message in a reply
05-08-2016, 12:13 AM
Post: #17
RE: Bug in solve app?
Hi!

Same for me... It is difficult to trust the Prime.. I don't no what to say.

Just a question:

For testing the Prime, HP use

A. a HP calculator (48, 49 or 50g)
B. Mathematica
C. TI-Nspire CX CAS
D. CASIO Calculator
E. No test, because HP is the best!

The answer is: ___



Marcel
Find all posts by this user
Quote this message in a reply
05-08-2016, 12:30 AM
Post: #18
RE: Bug in solve app?
Hi!, Marcel:

This problem occurs, with the new version 10077. If you have the version 8151, will not have, this problem; however, as is HP Invent and certainly, in the next version, they will solve, as other bugs. There is a very good development team, this gem. This is similar, to the disadvantages, of the Windows 10.

Kind Regards.
informach.
Find all posts by this user
Quote this message in a reply
05-08-2016, 12:37 AM
Post: #19
RE: Bug in solve app?
Hi informach!
I know they will correct it.. This is only a bad joke...
I only want to trust the Prime like my 48, 49 or Nspire...
Thank you
Marcel.
Find all posts by this user
Quote this message in a reply
05-08-2016, 12:59 AM (This post was last modified: 05-08-2016 02:29 AM by informach.)
Post: #20
RE: Bug in solve app?
Hi!, Marcel:

That's, for sure. I come from, far away with HP (HP67/41CV/28C/75C/48G+/49G/50G/HP PRIME) and no exist one, can replace the HP's. Imagine, what calculators that NASA used its shuttle flights (HP35/HP41CX/HP48GX/HP42S) and now provides, exclusively to NASA, all equipment (can you expect more?).

Kind Regards.
informach.
Find all posts by this user
Quote this message in a reply
Post Reply 




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