HP solver has some bugs « Next Oldest | Next Newest »

 ▼ Will Junior Member Posts: 39 Threads: 18 Joined: Jan 1970 02-28-2005, 12:41 PM try to find a root for 25*x-5*ln(x)=0 using the hp49g solver... ▼ Mike (Stgt) Posting Freak Posts: 858 Threads: 80 Joined: Feb 2009 02-28-2005, 02:12 PM Plot it from x=0 to .5 and tell us what you expect. Ciao.....Mike ▼ Gene Posting Freak Posts: 1,107 Threads: 159 Joined: Jan 1970 02-28-2005, 02:40 PM Well, it shouldn't return 0.2 something. :-) Gene Karl Schneider Posting Freak Posts: 1,792 Threads: 62 Joined: Jan 2005 03-01-2005, 12:41 AM "will" -- My 33S also can't find a real root to your equation. I suspect that neither can my 15C, 28C, 32SII, 34C, 41C*/Advantage, 42S, 48G or 49G. Mike and Gene might be coy, but I think you really meant, ```25*x+5*ln(x)=0, for which x = 0.26534 ``` -- KS Edited: 1 Mar 2005, 12:42 a.m. ▼ axel Junior Member Posts: 14 Threads: 3 Joined: Jan 1970 03-01-2005, 09:26 AM y=25*x-5*ln(x) has no real solution, whereas y=25*x+5*ln(x) can be solved by HP Solver (tried on 32sii and 40g, solution is 0.2653449...) Regards, Axel Tizedes Csaba [Hungary] Member Posts: 97 Threads: 25 Joined: Jan 1970 03-01-2005, 03:02 AM My favourite, I posted it below, but NOBODY can tell me, what is the problem in the symbolic solvers!!! Heyhooo Mathematica, Maple, etc programmers!!!! Here is the little problem, what can solve an 10 yrs student, but your 10 yrs old symbolic progs CANT!!!!! Here it is: ``` 1 1 3*x + ----- = 15 + ----- (x-5) (x-5) And the solution is that: "No solution!" All of softvares gives x=5 that is not root!!! ``` Feed your head! Csaba ▼ Mike (Stgt) Posting Freak Posts: 858 Threads: 80 Joined: Feb 2009 03-01-2005, 04:23 AM True, your function at x=5 is _not_ defined. But (!) the root is a "hebbare Lücke" (sorry, I know only the German word; about "repealable or liftable gap") as the values of the function and its derivative at x=5-0 and x=5+0 are the same. But I am quite sure that no CAS cares about adjacence of gaps in a function. Ciao.....Mike Will Junior Member Posts: 39 Threads: 18 Joined: Jan 1970 03-01-2005, 10:51 AM Interesting posts...the bug is that the HP solver shows a false answer around 0.2 something which is not a root...in fact there is not real answer... about the problem that csba told us is quite important avoid divide by 0. cyrille de Brébisson Member Posts: 193 Threads: 10 Joined: Mar 2008 03-01-2005, 01:50 PM Hello, Actually, the solver works perfectly well. the problem is the user interface which returns 0.2 (and some change) but without displaying the appropriate error/information message: "Extremum" If you try the "OLD" version of the equation solver UI: hold red shift, 7, ROOT '25*X-5*LN(X)' ENTER green shift EQ, SOLVR green shift X, you will get 0.2 and change and the message Extremum saying that the solver found an extremum, but not a solution Cyrille ▼ John Senior Member Posts: 348 Threads: 74 Joined: Jun 2013 03-01-2005, 07:21 PM All one has to do on the new solver is press the menu label "INFO" and it will indicate that the 0.2 was found as an Extremum. This is ALWAYS a good idea and is proper use of the solver. One should never! accept a numerical result from a solver without knowing this type of additional information. Always press INFO to find out how the result was obtained! Gene Mike (Stgt) Posting Freak Posts: 858 Threads: 80 Joined: Feb 2009 03-02-2005, 09:17 AM Aha! HP listens to the grapevine -- Bon jour CdB! :) Could you pls tell us on which ROM version the "old" UI is available? I tried (i) Version HP49-C, Revision #1.18 (no difference between red-shift 7 and hold-red-shift 7), (ii) Version HP49-B, Revision #1.19-6 (same as i), and (iii) Version HP49-C, Revision #1.24 but there I was not able to reproduce your example. Suppose you are on a HP-49G+plus. BTW, sorry if I ask for info that is described elswhere and I did not find it: what is the meaning of version letters on the HP49G? It seems not to correspond with the revision numbers. B=Beta and C=produCtion? TIA.....Mike Edited: 2 Mar 2005, 9:18 a.m. Bernardo Vargas Junior Member Posts: 22 Threads: 3 Joined: Jan 1970 03-02-2005, 05:59 AM The problem is that SOLVE starts with the value x=0, and then returns immediately an error message because of the impossibility of ln(0). In this case the SOLVE program on the MATH-1 module for the HP41 works better, since it asks first for two GUESSES for the solution. This way you can avoid the ln(0) by entering 0.1 or something like that. Then the program runs for some seconds and gives the answer ROOT IS 0.265344933. The manual of the HP32SII has an interesting appendix telling how SOLVE works, and explains some of its limitations. And let me remind you that EVERY numerical algorithm has its limitations. So is mathematics, sorry.

 Possibly Related Threads... Thread Author Replies Views Last Post hp-prime solver and variable name fabrice48 22 1,706 12-10-2013, 03:25 AM Last Post: fabrice48 Solver issue with HP 17BII - different from 19BII Jeff Kearns 13 837 11-28-2013, 02:36 AM Last Post: Don Shepherd HP Prime Triangle solver BruceH 29 1,799 11-28-2013, 12:03 AM Last Post: Dale Reed HP prime: linear solver app Alberto Candel 1 315 11-21-2013, 01:57 AM Last Post: Michael Carey HP Prime: Linear Solver app bug BruceH 0 207 11-15-2013, 06:36 PM Last Post: BruceH Digging for bugs Stefan Dröge (Germany) 2 308 11-13-2013, 04:39 PM Last Post: Stefan Dröge (Germany) [HP-Prime] Simple Game (Bugs) CompSystems 1 309 11-01-2013, 10:18 AM Last Post: Han HP-35s Cos[x] and Tan[x] bugs resolved? Thomas Windisch 2 331 10-31-2013, 01:12 PM Last Post: Dieter HP Prime Solver Variables Issue Anibal Morones Ruelas 8 686 10-19-2013, 09:45 AM Last Post: Harold A Climer RPN bugs both present in Prime Calc and emulator Eelco Rouw 9 645 10-16-2013, 12:22 PM Last Post: Eelco Rouw

Forum Jump: