|
Halley's method for single-variable optimization +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Software Libraries (https://www.hpmuseum.org/forum/forum-10.html) +--- Forum: HP Prime Software Library (https://www.hpmuseum.org/forum/forum-15.html) +--- Thread: Halley's method for single-variable optimization (/thread-23382.html) |
Halley's method for single-variable optimization - Namir - 2025-04-07 The following HP Prime program performs single-variable optimization using Halley's method. To use it type HMOSV(guess, tolerance). The program displays the optimum and an optimum-type flag (1 for minimum, -1 for maximum, and 0 for saddle point). The function FX in the listing implements the function to be optimized. The listing is: Code: FX(x) |