HP Forums
GOLDEN-SECTION Method For HP-67/97 - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Software Libraries (/forum-10.html)
+--- Forum: HP-65/67/97 Software Library (/forum-12.html)
+--- Thread: GOLDEN-SECTION Method For HP-67/97 (/thread-21907.html)



GOLDEN-SECTION Method For HP-67/97 - plore90 - 06-18-2024 03:40 PM

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


RE: GOLDEN-SECTION Method For HP-67/97 - PedroLeiva - 06-18-2024 11:28 PM

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


RE: GOLDEN-SECTION Method For HP-67/97 - plore90 - 06-19-2024 03:13 AM

(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


RE: GOLDEN-SECTION Method For HP-67/97 - PedroLeiva - 06-19-2024 12:02 PM

Thank you very much Paolo. This is Pedro from ARGENTINA


RE: GOLDEN-SECTION Method For HP-67/97 - plore90 - 06-19-2024 02:56 PM

(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...)