Post Reply 
GOLDEN-SECTION Method For HP-67/97
06-18-2024, 03:40 PM (This post was last modified: 06-19-2024 03:01 PM by plore90.)
Post: #1
GOLDEN-SECTION Method For HP-67/97
Hello everyone,
I'm here to present you my latest program written for HP-67/97 calculators but also adaptable to HP-41C: "Absolute Minimum and Maximum for a function F(X) defined and continuous in an interval [Xlow,Xupper] with the GOLDEN-SECTION Search method".
This method does not use derivatives, but has linear convergence and is therefore slower than Newton's method. In the attached zip file you will find the following files,
1) Hp6797_MINMAXFX.67 which contains the program to be read by the HP-67 emulator by LIMPIDFOX.
2) Hp6797_MINMAXFX.PDF which contains the program listing
3) Hp6797_MINMAXFX.TXT which contains the instructions.
Plus one in English, which explain the GOLDEN-SECTION method and show some examples.
I hope as usual that this program can be useful to some of you.
Thanks for the attention.
Plore90
Update!!!
I updated the LBLA and LBLB so as not to re-enter the ends of the interval between a D calculation and an E calculation.

https://en.wikipedia.org/wiki/Golden_ratio
https://en.wikipedia.org/wiki/Golden-section_search


Attached File(s)
.zip  HP6797_MINMAXFX.zip (Size: 28.6 KB / Downloads: 11)
.zip  mws_gen_opt_txt_goldensearch.zip (Size: 1,000.13 KB / Downloads: 10)
.txt  Manual.txt (Size: 1.8 KB / Downloads: 8)
.zip  HP6797_MINMAXFX_New.zip (Size: 27.85 KB / Downloads: 2)
Find all posts by this user
Quote this message in a reply
06-18-2024, 11:28 PM
Post: #2
RE: GOLDEN-SECTION Method For HP-67/97
Nice initiative. I will load the program in my HP-67 and try to test it. But I can not find the Instructions; the file [ HP6797_MINMAXFX. TXT ] contains the program listing, not the instructions. Please, also I would like to have some simple examples solved step by step with the keystroke procedure. Thank you in advance. Pedro
Find all posts by this user
Quote this message in a reply
06-19-2024, 03:13 AM
Post: #3
RE: GOLDEN-SECTION Method For HP-67/97
(06-18-2024 11:28 PM)PedroLeiva Wrote:  Nice initiative. I will load the program in my HP-67 and try to test it. But I can not find the Instructions; the file [ HP6797_MINMAXFX. TXT ] contains the program listing, not the instructions. Please, also I would like to have some simple examples solved step by step with the keystroke procedure. Thank you in advance. Pedro
Hi Pedro,
I added the Manual.txt file with the instructions and the example that is present in the program listing and a link (in Italian) to the theoretical explanation and some examples.
Regards
Paolo
Find all posts by this user
Quote this message in a reply
06-19-2024, 12:02 PM
Post: #4
RE: GOLDEN-SECTION Method For HP-67/97
Thank you very much Paolo. This is Pedro from ARGENTINA
Find all posts by this user
Quote this message in a reply
06-19-2024, 02:56 PM (This post was last modified: 06-19-2024 03:03 PM by plore90.)
Post: #5
RE: GOLDEN-SECTION Method For HP-67/97
(06-19-2024 12:02 PM)PedroLeiva Wrote:  Thank you very much Paolo. This is Pedro from ARGENTINA
Hi Pedro,
I updated the LBLA and LBLB so as not to re-enter the ends of the interval between a D calculation and an E calculation.
Paolo from PARAGUAY (I'm Italian...)


Attached File(s)
.zip  HP6797_MINMAXFX_New.zip (Size: 27.85 KB / Downloads: 6)
Find all posts by this user
Quote this message in a reply
Post Reply 




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