HP Forums
[CRASH] Fsolve fails - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: [CRASH] Fsolve fails (/thread-1673.html)



[CRASH] Fsolve fails - alexzkter - 06-20-2014 09:25 PM

My physical Prime is failing when inputing this:
[Image: 15s63o3.png]

I'm getting 2 kind of crashes depending on what my settings on CAS are.

Either this when EXACT, COMPLEX and USE i are unchecked:
[Image: 28h1kqh.png]

...or this when the latter are checked (take a look at the hourglass)
[Image: 123p9vp.png]

The integers Decimal check box is checked on both cases, and on both calculators.


Someone mind explaining what's wrong?

P.S Solve shows [ ] and Solve app does work and gives proper result.
6030 firmware.


RE: [CRASH] Fsolve fails - CR Haeger - 06-21-2014 12:25 AM

Try fsolve(equation,x,guess) without using brackets []

I get x=168859.63... Which seems to satisfy the equation.

I only use [] with fsolve() for multiple equations. On line help example 1,2 show this.


RE: [CRASH] Fsolve fails - parisse - 06-21-2014 05:39 AM

Unfortunately, I can only debug if the crash happens on the emulator (or in Xcas).


RE: [CRASH] Fsolve fails - alexzkter - 06-21-2014 11:06 AM

(06-21-2014 12:25 AM)CR Haeger Wrote:  Try fsolve(equation,x,guess) without using brackets []

I get x=168859.63... Which seems to satisfy the equation.

I only use [] with fsolve() for multiple equations. On line help example 1,2 show this.

Yes, fsolve(equation,x,0) works, thanks. But so far fsolve[[],[]] sintaxis for a single equation was working for me. Moreover, if it's working on the emulator I don't see why it's not working on the real one, I don't want to have to memorize tons of sintaxys to calculate things... even my Casio FX991ES could solve this equation with its built in solver (after 20 of waiting).