WP34S nested error



#6

hi to all,

I've tried on the WP34S emulator (22.1990) to find the minimum of a function using the built-in f'(x) command and solving it for zero:

LBL A
my function f(x) that I want to study, result returned in X stack
RTN

LBL B
f'(x) LBL A
RTN

but when I solve for B I receive the message :
Nested use of solve (SLV and SLVQ), integrate, sum or product is not allowed.

Could I do this in this way or I must write a routine that
calculate the derivate and then use solve on it?

thanks

Alessandro





















#7

Version 2 firmware does not permit solve, integrate, f', f", sum or product to nest or call any of them others. This stems from a limitation on the number of reserved internal registers.

There are two obvious solutions here.

Code f' or solve yourself and use the built in version of the other (hint: look in the library directory on subversion for outline code for these or grab versions from the library here on the Museum).

The alternative would be to upgrade to version 3 which removes this restriction entirely. In version 3 firmware, you can freely nest and mix these functions subject to having enough available RAM.


- Pauli


#8

Thank you very much Pauli I'll wait 3.0 release.


Alessandro


#9

You can get V3 from sourceforge SVN right now! :-)


#10

We are preparing a release. Stay tuned! Walter is reworking the manual and Pauli and I are fixing bugs and inconsistencies. The cross platform emulator by Pascal is in the stage of being deployed soon, too.

Edited for correct grammar.


Edited: 6 Feb 2012, 1:25 p.m.


Possibly Related Threads…
Thread Author Replies Views Last Post
  MS advert shows spreadsheet with obvious error BruceH 3 2,166 11-14-2013, 09:50 AM
Last Post: Bill (Smithville, NJ)
  HP Prime: Rounding error in determinant Stephan Matthys 3 1,641 10-25-2013, 09:29 PM
Last Post: Walter B
  Prime Error or Mine? toml_12953 12 3,614 10-22-2013, 10:35 AM
Last Post: toml_12953
  Explaination on How to Reset Caculator in Users guie: error Harold A Climer 5 2,552 10-15-2013, 02:11 AM
Last Post: cyrille de Brébisson
  Repair of HP-34C - Error 0 and Error 9 Jeff Kearns 3 1,689 10-11-2013, 12:29 PM
Last Post: Randy
  Do You Think a Listing Error Was Made? Jim Johnson 13 3,854 09-04-2013, 09:23 AM
Last Post: Eddie W. Shore
  HP Prime: Error reports : Here Patrice 111 23,067 07-24-2013, 05:52 PM
Last Post: Thomas Klemm
  PARTFRAC error. Romeu Medeiros 2 1,319 06-23-2013, 10:27 PM
Last Post: Romeu Medeiros
  WP-34s Documentation error Marcel Samek 9 2,767 06-13-2013, 10:25 AM
Last Post: Miguel Toro
  HPIB Syntax Error at Status command inaki 3 2,265 04-06-2013, 07:57 PM
Last Post: Paul Berger (Canada)

Forum Jump: