Post Reply 
HP 42S undocumented [MAX] [MIN] functions
10-29-2022, 09:30 PM
Post: #3
RE: HP 42S undocumented [MAX] [MIN] functions
I am not aware of such functions (would love to find that they are there). Here is a work around (will not work with Nroots involving negative numbers):

LBL “DX”
MVAR X
MVAR H
RCL X
RCL H
COMPLEX
XEQ “FX”
COMPLEX
RTN
END

H (epsilon) of 1E-5 works well

FX is your program of the equation f(x) that you wish to find an extremum.

Finding an extremum consists of solving DX, then executing FX with the number that solving DX placed in the x level of the 4 level stack.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HP 42S undocumented [MAX] [MIN] functions - lrdheat - 10-29-2022 09:30 PM



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