|
Ostrowski's method for optimizing a single-variable function +- 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: Ostrowski's method for optimizing a single-variable function (/thread-23383.html) |
Ostrowski's method for optimizing a single-variable function - Namir - 2025-04-07 The following HP Prime program performs single-variable optimization using Ostrowski's method. To use it type OMOSV(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) |